/glibc-2.36/math/ |
D | tst-CMPLX2.c | 88 #define ALL_CHECKS(PZ, NZ, NAN, INF, TYPE, COMPARE, CL) \ argument 92 VERIFY (PZ, NAN, TYPE, COMPARE, CL); \ 96 VERIFY (NZ, NAN, TYPE, COMPARE, CL); \ 98 VERIFY (NAN, PZ, TYPE, COMPARE, CL); \ 99 VERIFY (NAN, NZ, TYPE, COMPARE, CL); \ 100 VERIFY (NAN, NAN, TYPE, COMPARE, CL); \ 101 VERIFY (NAN, INF, TYPE, COMPARE, CL); \ 104 VERIFY (INF, NAN, TYPE, COMPARE, CL); \
|
D | basic-test.c | 107 check (#FLOAT " isnan (NAN)", isnan (NAN)); \ 108 check (#FLOAT " isnan (-NAN)", isnan (-NAN)); \ 109 check (#FLOAT " !isinf (NAN)", !(isinf (NAN))); \ 110 check (#FLOAT " !isinf (-NAN)", !(isinf (-NAN))); \ 111 check (#FLOAT " NAN != NAN", NAN != NAN); \ 112 check (#FLOAT " NAN != qNaN", NAN != qNaN_var); \ 114 check (#FLOAT " NAN != sNaN", NAN != sNaN_var); \ 116 check (#FLOAT " NAN != -sNaN", NAN != minus_sNaN_var); \
|
D | test-math-isinff.cc | 35 || !isnanf (NAN) in do_test() 37 || !isnanl (NAN) in do_test()
|
D | math.h | 98 # define NAN (__builtin_nanf ("")) macro 103 # define NAN (0.0f / 0.0f)
|
/glibc-2.36/sysdeps/ieee754/ |
D | k_standard.c | 129 exc.retval = NAN; in __kernel_standard() 148 exc.retval = NAN; in __kernel_standard() 266 exc.retval = NAN; in __kernel_standard() 304 exc.retval = NAN; in __kernel_standard() 344 exc.retval = NAN; in __kernel_standard() 417 exc.retval = NAN; in __kernel_standard() 455 exc.retval = NAN; in __kernel_standard() 824 exc.retval = NAN; in __kernel_standard() 920 exc.retval = NAN; in __kernel_standard()
|
/glibc-2.36/sysdeps/powerpc/fpu/ |
D | s_modff.c | 37 *iptr = NAN; in __modff() 38 return NAN; in __modff()
|
D | s_modf.c | 38 *iptr = NAN; in __modf() 39 return NAN; in __modf()
|
D | e_sqrtf.c | 123 x = NAN; in __ieee754_sqrtf()
|
D | e_sqrt.c | 148 x = NAN; in __ieee754_sqrt()
|
/glibc-2.36/misc/ |
D | tst-efgcvt-template.c | 194 p = ECVT (NAN, 10, &decpt, &sign); in special() 196 output_error (NAME (ECVT), NAN, 10, "nan", 0, 0, p, decpt, sign); in special()
|
/glibc-2.36/sysdeps/arm/ |
D | aeabi_math.c | 41 const float __aeabi_NAN attribute_hidden = NAN;
|
/glibc-2.36/benchtests/ |
D | isinf-inputs | 19 ## name: NAN
|
D | isfinite-inputs | 19 ## name: NAN
|
D | isnan-inputs | 19 ## name: NAN
|
/glibc-2.36/stdlib/ |
D | strtod_nan_main.c | 43 FLOAT retval = NAN; in STRTOD_NAN()
|
D | tst-strfrom.h | 45 #define NAN_ NAN + 0.0
|
D | strtod_l.c | 660 FLOAT retval = NAN; in ____STRTOF_INTERNAL()
|
/glibc-2.36/stdio-common/ |
D | tstdiomisc.c | 95 qnanval = NAN; in F() 183 lqnanval = NAN; in F()
|
D | tfformat.c | 4051 {__LINE__, NAN, "nan", "%f"}, 4052 {__LINE__, NAN, "+nan", "%+f"}, 4053 {__LINE__, NAN, " nan", "%010.2f"}, 4054 {__LINE__, NAN, " +nan", "%+010.2f"}, 4055 {__LINE__, -NAN, "-nan", "%f"}, 4056 {__LINE__, -NAN, "-nan", "%+f"}, 4057 {__LINE__, -NAN, " -nan", "%010.2f"}, 4058 {__LINE__, -NAN, " -nan", "%+010.2f"}, 4059 {__LINE__, NAN, "NAN", "%F"},
|
/glibc-2.36/conform/data/ |
D | math.h-data | 45 macro-constant NAN {float}
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.1 | 1154 * math/math.h [__USE_GNU]: #include <nan.h> to get NAN value. 1265 * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN. 1266 If VALUE is NAN, set errno to EDOM and return VALUE. 1631 * sysdeps/ieee754/__drem.c: Return NAN if Y is zero. 1637 * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added 2073 * sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro 2521 (NAN): New macro for an IEEE NaN, done like HUGE_VAL.
|
D | ChangeLog.7 | 13 * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of 16 * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of 40 * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. 8546 * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. 11979 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in 12880 or inf depending on case of specifier. Same for NaN where NAN 12891 * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and 12892 NAN(...).
|
D | ChangeLog.14 | 999 * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf. 1000 * sysdeps/mips/bits/nan.h (NAN): Likewise.
|
/glibc-2.36/manual/ |
D | arith.texi | 665 @deftypevr Macro float NAN 672 You can use @samp{#ifdef NAN} to test whether the machine supports 1847 @code{strtod ("NAN(@var{n-char-sequence})")}.
|
D | stdio.texi | 2125 @w{[@code{-}]@code{INF}} or @code{NAN} respectively if the conversion is
|