Effacer les filtres
Effacer les filtres

how to convert -2.5 into binary number?

7 vues (au cours des 30 derniers jours)
Daljit Singh
Daljit Singh le 13 Juin 2014
Commenté : dpb le 13 Juin 2014
i can convert 2.5, 2, -2 decimal values into binary number but when converting -2.5 binary output is same as 2.5 value,please help me
  2 commentaires
Geoff Hayes
Geoff Hayes le 13 Juin 2014
What is the code that you are using to convert these numbers into binary?
dpb
dpb le 13 Juin 2014
What form of a binary number do you expect for a floating point value? IEEE-754 single, double, some other encoding????

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by