
20 Sep
2010
20 Sep
'10
12:43 a.m.
I needed "real" IEEE754 binary support for round-trip parsing, where (for example) maintaining the particular bit pattern of a NaN is important. For 99% of people, the "unsafe" method will work fine.
How does a C-style cast not preserve the bit pattern of a NaN? Again, sorry if this is a stupid question.