1 / 7 = 0.142857142857143 = 0x6FDF1234
That hex value doesn't correspond to either a float or double in IEEE format?
print unpack 'h*', pack 'f', 1/7;; 529421e3 print unpack 'h*', pack 'd', 1/7;; 2942942942942cf3
In reply to Re: Float/double to hex?
by BrowserUk
in thread Float/double to hex?
by edwyr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |