News for hackers. Stuff that matters.
Re:What every computer programmer should know about floating... by colanderman on Monday September 15, 2014 @11:11PM (#8322845)
The CPU doesn't make that decision, the compiler does. And AFAIK, GCC doesn't use the 80-bit 8087 floating point registers in 64-bit code (it sticks to the 64-bit SSE2 registers.) Even if 80-bit registers were used, they are still exponent+mantissa format, which represents small integers exactly.
Re:What every computer programmer should know about floating... by nsxwolf on Monday September 15, 2014 @11:57PM (#8322950)
I had no idea the Intel 8087 was so related to the IEEE standard until I saw your comment. I had to look it up. Very cool.