-1
如果这个值0010 0100 1001 0010 0100 1001 0010 0100是一个单精度浮点数,我该如何将它转换成十进制数?如何将单精度浮点数转换为十进制?
如果这个值0010 0100 1001 0010 0100 1001 0010 0100是一个单精度浮点数,我该如何将它转换成十进制数?如何将单精度浮点数转换为十进制?
如果你知道一些基本的Python,可能你可以使用struct & binascii模块来做到这一点!欲了解更多信息,请参阅https://pymotw.com/2/struct/index.html#module-struct
可能的重复[如何将十进制数转换为IEEE 754单精度浮点格式?](http://stackoverflow.com/questions/2404675/how-doi-i-转换从十进制数到ieee-754-single-precision-floating-poi) – GAntoine
不,我试图将浮点数转换为十进制数,而不是十进制数转换为浮点数 – Roxas
看看示例6上的[本页](http://teaching.idallen.com/cst8281/10w/notes/100_ieee754_conversions.txt)。 – GAntoine