Searched refs:NAN (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-9.3-release/tools/regression/lib/msun/
H A Dtest-csqrt.c221 assert(creall(t_csqrt(cpackl(INFINITY, NAN))) == INFINITY);
222 assert(isnan(cimagl(t_csqrt(cpackl(INFINITY, NAN)))));
224 assert(isnan(creall(t_csqrt(cpackl(-INFINITY, NAN)))));
225 assert(isinf(cimagl(t_csqrt(cpackl(-INFINITY, NAN)))));
227 assert_equal(t_csqrt(cpackl(NAN, INFINITY)),
229 assert_equal(t_csqrt(cpackl(NAN, -INFINITY)),
232 assert_equal(t_csqrt(cpackl(0.0, NAN)), cpackl(NAN, NAN));
233 assert_equal(t_csqrt(cpackl(-0.0, NAN)), cpack
[all...]
H A Dtest-logarithm.c106 testall0(NAN, NAN, ALL_STD_EXCEPT, 0);
107 testall1(NAN, NAN, ALL_STD_EXCEPT, 0);
114 testall0(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
115 testall1(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
116 testall0(-1.0, NAN, ALL_STD_EXCEPT, FE_INVALID);
117 testall1(-1.5, NAN, ALL_STD_EXCEPT, FE_INVALID);
H A Dtest-cexp.c201 testall(cpackl(finites[i], NAN), cpackl(NAN, NAN),
206 testall(cpackl(NAN, finites[i]), cpackl(NAN, NAN),
211 testall(cpackl(NAN, 0.0), cpackl(NAN, 0.0), ALL_STD_EXCEPT, 0, 1);
212 testall(cpackl(NAN, -0.0), cpackl(NAN,
[all...]
H A Dtest-fma.c141 testall(0.0, INFINITY, 1.0, NAN, ALL_STD_EXCEPT, FE_INVALID);
142 testall(INFINITY, 0.0, -0.0, NAN, ALL_STD_EXCEPT, FE_INVALID);
145 testall(INFINITY, 0.0, NAN, NAN, ALL_STD_EXCEPT & ~FE_INVALID, 0);
147 testall(INFINITY, INFINITY, -INFINITY, NAN,
149 testall(-INFINITY, INFINITY, INFINITY, NAN,
151 testall(INFINITY, -1.0, INFINITY, NAN,
168 testall(NAN, 0.0, 0.0, NAN, ALL_STD_EXCEPT, 0);
169 testall(1.0, NAN, 1.
[all...]
H A Dtest-ilogb.c47 assert(ilogb(NAN) == FP_ILOGBNAN);
59 assert(ilogbf(NAN) == FP_ILOGBNAN);
71 assert(ilogbl(NAN) == FP_ILOGBNAN);
H A Dtest-trig.c112 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
113 testall(sin, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
114 testall(cos, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
115 testall(tan, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
116 testall(sin, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
117 testall(cos, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
120 testall(tan, NAN, NAN, ALL_STD_EXCEPT, 0);
121 testall(sin, NAN, NAN, ALL_STD_EXCEP
[all...]
H A Dtest-exponential.c106 testall0(NAN, NAN, ALL_STD_EXCEPT, 0);
107 testall1(NAN, NAN, ALL_STD_EXCEPT, 0);
H A Dtest-fmaxmin.c139 testall(6, 1.0, NAN);
140 testall(7, INFINITY, NAN);
144 testall(11, NAN, NAN);
H A Dtest-nearbyint.c86 NAN, NAN,
H A Dtest-conj.c86 NAN, 1.0,
87 1.0, NAN,
88 NAN, NAN,
H A Dtest-next.c133 testall(NAN, 42.0, NAN, 0);
134 testall(42.0, NAN, NAN, 0);
135 testall(NAN, NAN, NAN, 0);
H A Dtest-invtrig.c150 testall(asin, INFINITY, NAN, FE_INVALID);
151 testall(acos, INFINITY, NAN, FE_INVALID);
153 testall(asin, -INFINITY, NAN, FE_INVALID);
154 testall(acos, -INFINITY, NAN, FE_INVALID);
157 testall(asin, NAN, NAN, 0);
158 testall(acos, NAN, NAN, 0);
159 testall(atan, NAN, NAN,
[all...]
H A Dtest-rem.c65 test_invalid(NAN, 1.0);
66 test_invalid(1.0, NAN);
H A Dtest-lrint.c85 testall(NAN, IGNORE, FE_INVALID);
H A Dtest-lround.c76 testall(NAN, IGNORE, FE_INVALID);
/freebsd-9.3-release/tools/regression/lib/libc/gen/
H A Dtest-fpclassify.c47 assert(fpclassify(NAN) == FP_NAN);
59 assert(fpclassify((double)NAN) == FP_NAN);
71 assert(fpclassify((long double)NAN) == FP_NAN);
/freebsd-9.3-release/tools/regression/lib/libc/stdio/
H A Dtest-printfloat.c91 testfmt("nan", "%e", NAN);
92 testfmt("NAN", "%F", NAN);
93 testfmt("nan", "%g", NAN);
94 testfmt("NAN", "%LE", (long double)NAN);
95 testfmt(" nan", "%05e", NAN);
249 testfmt("nan", "%La", (long double)NAN);
250 testfmt("NAN", "%A", NAN);
[all...]
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Dieee754-sf.S72 1: @ Look for zeroes, equal values, INF, or NAN.
248 @ At least one of r0/r1 is INF/NAN.
249 @ if r0 != INF/NAN: return r1 (which is INF/NAN)
250 @ if r1 != INF/NAN: return r0 (which is INF/NAN)
251 @ if r0 or r1 is NAN: return NAN
252 @ if opposite sign: return NAN
262 orrne r0, r0, #0x00400000 @ quiet NAN
[all...]
H A Dieee754-df.S93 @ Look for zeroes, equal values, INF, or NAN.
360 @ At least one of x or y is INF/NAN.
361 @ if xh-xl != INF/NAN: return yh-yl (which is INF/NAN)
362 @ if yh-yl != INF/NAN: return xh-xl (which is INF/NAN)
363 @ if either is NAN: return NAN
364 @ if opposite sign: return NAN
376 orrne xh, xh, #0x00080000 @ quiet NAN
[all...]
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dfloatformat.c21 /* This is needed to pick up the NAN macro on some systems. */
51 #ifndef NAN
53 #define NAN DBL_QNAN macro
55 #define NAN (0.0 / 0.0) macro
351 dto = NAN;
628 ieee_test (- NAN);
630 ieee_test (NAN);
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dfloatformat.c21 /* This is needed to pick up the NAN macro on some systems. */
51 #ifndef NAN
53 #define NAN DBL_QNAN macro
55 #define NAN (0.0 / 0.0) macro
351 dto = NAN;
628 ieee_test (- NAN);
630 ieee_test (NAN);
/freebsd-9.3-release/lib/msun/src/
H A Dmath.h59 #define NAN __builtin_nanf("") macro
64 #define NAN (__nan.__uf) macro
/freebsd-9.3-release/sys/mips/mips/
H A Dfp.S647 bne t2, zero, result_fs_s # if FS is NAN, result is FS
648 bne ta2, zero, result_ft_s # if FT is NAN, result is FT
763 bne t2, zero, result_fs_d # if FS is NAN, result is FS
765 bne ta2, zero, result_ft_d # if FT is NAN, result is FT
926 bne t2, zero, result_fs_s # if FS is a NAN, result=FS
928 bne ta2, zero, result_ft_s # if FT is a NAN, result=FT
938 bne ta2, zero, result_ft_s # if FT is a NAN, result=FT
972 bne t2, zero, result_fs_d # if FS is a NAN, result=FS
975 bne ta2, zero, result_ft_d # if FT is a NAN, result=FT
986 bne t2, zero, result_ft_d # if FS is a NAN, resul
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddoublest.c670 /* If the host doesn't define NAN, use zero instead. */
671 #ifndef NAN
672 #define NAN 0.0
687 return NAN;
669 #define NAN macro
/freebsd-9.3-release/lib/libc/mips/gen/
H A Dldexp.S71 beq t1, DEXP_INF, 9f # is it a NAN or infinity?

Completed in 231 milliseconds

12