NaNs in C99 is:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1011.htm
First off, in Standard C, there is no way to create or get a Signaling NaN.
Second off, the best that I could get the C committee to agree to on the
subject is full of 'should' and 'might', instead of
at FreeBSD has a bug in this regard,
C99+TC1+TC2: 7.19.6.1 The fprintf function
Paragraph 6, discussion on the '0' flag: ... leading zeros ...
are used to pad to the field width rather than performing space
padding, except when converting an infinity or NaN.
FreeBSD has a bug.
---