Home
last modified time | relevance | path

Searched refs:NAN (Results 1 – 25 of 41) sorted by relevance

12

/glibc-2.36/math/
Dtst-CMPLX2.c88 #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); \
Dbasic-test.c107 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); \
Dtest-math-isinff.cc35 || !isnanf (NAN) in do_test()
37 || !isnanl (NAN) in do_test()
Dmath.h98 # define NAN (__builtin_nanf ("")) macro
103 # define NAN (0.0f / 0.0f)
/glibc-2.36/sysdeps/ieee754/
Dk_standard.c129 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/
Ds_modff.c37 *iptr = NAN; in __modff()
38 return NAN; in __modff()
Ds_modf.c38 *iptr = NAN; in __modf()
39 return NAN; in __modf()
De_sqrtf.c123 x = NAN; in __ieee754_sqrtf()
De_sqrt.c148 x = NAN; in __ieee754_sqrt()
/glibc-2.36/misc/
Dtst-efgcvt-template.c194 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/
Daeabi_math.c41 const float __aeabi_NAN attribute_hidden = NAN;
/glibc-2.36/benchtests/
Disinf-inputs19 ## name: NAN
Disfinite-inputs19 ## name: NAN
Disnan-inputs19 ## name: NAN
/glibc-2.36/stdlib/
Dstrtod_nan_main.c43 FLOAT retval = NAN; in STRTOD_NAN()
Dtst-strfrom.h45 #define NAN_ NAN + 0.0
Dstrtod_l.c660 FLOAT retval = NAN; in ____STRTOF_INTERNAL()
/glibc-2.36/stdio-common/
Dtstdiomisc.c95 qnanval = NAN; in F()
183 lqnanval = NAN; in F()
Dtfformat.c4051 {__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/
Dmath.h-data45 macro-constant NAN {float}
/glibc-2.36/ChangeLog.old/
DChangeLog.11154 * 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.
DChangeLog.713 * 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(...).
DChangeLog.14999 * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
1000 * sysdeps/mips/bits/nan.h (NAN): Likewise.
/glibc-2.36/manual/
Darith.texi665 @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})")}.
Dstdio.texi2125 @w{[@code{-}]@code{INF}} or @code{NAN} respectively if the conversion is

12