Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Converting binary to double precisionby Anonymous Monk |
on Feb 24, 2014 at 18:42 UTC ( [id://1076022]=note: print w/replies, xml ) | Need Help?? |
If you know that you are dealing with an x86 platform, this approach might work, but Perl is platform-independent. The binary representation of a floating point number among CPU-types is not the same. For that matter, there is more than one floating-point type available on a single CPU. The binary representation will vary considerably.
In Section
Seekers of Perl Wisdom
|
|