IEEE Support in Programming Languages">

IEEE Support in Programming Languages

Posted by Beetle B. on Mon 04 March 2019

Do not assume that the operations in a programming language will map to the ones in the standard. The standard was originally written for hardware implementations.

Just because double in C is 64 bits, don’t assume that it corresponds to the binary64 format in the standard. The C standard does not require it.

The upshot is that you can get different results on different platforms for the same program.