2 * nan () returns a nan.
3 * Added by Cygnus Support.
8 <<nan>>, <<nanf>>---representation of ``Not a Number''
17 double nan(const char *<[unused]>);
18 float nanf(const char *<[unused]>);
22 <<nan>> and <<nanf>> return an IEEE NaN (Not a Number) in
23 double- and single-precision arithmetic respectively. The
24 argument is currently disregarded.
33 #ifndef _DOUBLE_IS_32BITS
35 double nan(const char *unused
)
39 #if __GNUC_PREREQ (3, 3)
40 x
= __builtin_nan("");
42 INSERT_WORDS(x
,0x7ff80000,0);
47 #endif /* _DOUBLE_IS_32BITS */