sanchahar / speedcrunch

Automatically exported from code.google.com/p/speedcrunch
1 stars 0 forks source link

hex equivalent of floating point numbers #505

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce:

hex(0.1)
= 0x0.1999999999999999A

Expected behavior:
It would be nice if this would display the hex equivalent in IEEE 754 format.  
Perhaps the result (single or double, 4 byte or 8 byte) could be an option for 
this format?

Experienced behavior:

Product version:
0.11

Operating system:
Windows 7 x64 Professional

Additional Information:

Original issue reported on code.google.com by nh...@specializedsolutionsllc.com on 29 May 2014 at 12:22

GoogleCodeExporter commented 8 years ago
One more thing, see this webpage for an example of the conversion I had in mind:

http://www.h-schmidt.net/FloatConverter/IEEE754.html

Original comment by nh...@specializedsolutionsllc.com on 29 May 2014 at 12:24

GoogleCodeExporter commented 8 years ago

Original comment by helder.p...@gmail.com on 17 Dec 2014 at 9:44