Searched refs:nan (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dpr19984.c6 double nan (const char *);
8 const double nok = nan (""); /* { dg-warning "(not a constant)|(near initialization)" } */
15 double ok2 = nan ("");
H A Dbuiltins-35.c1 /* Test that nan functions are not built-in in C90 mode. Bug 14635. */
6 int nan, nanf, nanl, nans, nansf, nansl; variable
H A Dc99-math-double-1.c9 volatile double nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dc99-math-float-1.c9 volatile float nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dc99-math-long-double-1.c9 volatile long double nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dbuiltins-43.c14 double nan = __builtin_nan (""); local
21 if (!__builtin_isnan (nan))
H A Dbuiltins-45.c14 double nan = __builtin_nan (""); local
37 if (__builtin_finite (nan))
H A Dc99-math.h6 #define C99_MATH_TESTS(nan, inf, huge, norm1, norm2, norm3, sub, zero, neg) \
12 if (fpclassify (nan) != FP_NAN) \
37 if (!isnan (nan)) \
62 if (isinf (nan)) \
87 if (isfinite (nan)) \
112 if (isnormal (nan)) \
137 if (!!signbit (nan) != neg) \
224 if (!isunordered ((nan), (norm1))) \
227 if (!isunordered ((nan), (norm2))) \
230 if (!isunordered ((nan), (norm
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/other/
H A Dwarning1.C11 static const float nan = 0.0f / 0.0f; // { dg-warning "0.0|float|initialization" } member in struct:S
16 printf("%f\n%f\n", S::inf, S::nan);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/other/
H A Dwarning1.C11 static const float nan = 0.0f / 0.0f; // { dg-warning "0.0|float|initialization" } member in struct:S
16 printf("%f\n%f\n", S::inf, S::nan);
/netbsd-6-1-5-RELEASE/lib/libm/gen/
H A DMakefile.inc7 SRCS+= nan.c nanf.c nanl.c
9 MAN+= nan.3
11 MLINKS+=nan.3 nanf.3 \
12 nan.3 nanl.3
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/
H A Dbuiltins-35.c1 /* Test that nan functions are not built-in in C90 mode. Bug 14635. */
6 int nan, nanf, nanl, nans, nansf, nansl; variable
H A Dc99-math-double-1.c9 volatile double nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dc99-math-float-1.c9 volatile float nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dc99-math-long-double-1.c9 volatile long double nan = NAN; local
18 C99_MATH_TESTS (nan, inf, huge, norm1, norm2, norm3, sub, zero, /*neg=*/0)
19 C99_MATH_TESTS (-nan, -inf, -huge, -norm1, -norm2, -norm3, -sub, -zero, /*neg=*/1)
H A Dbuiltins-43.c14 double nan = __builtin_nan (""); local
18 if (!__builtin_isnan (nan))
H A Dbuiltins-45.c14 double nan = __builtin_nan (""); local
29 if (__builtin_finite (nan))
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/18_support/numeric_limits/
H A Dquiet_NaN.cc38 T nan = std::numeric_limits<T>::quiet_NaN(); local
39 test = (nan != nan);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/18_support/numeric_limits/
H A Dquiet_NaN.cc40 T nan = std::numeric_limits<T>::quiet_NaN(); local
41 test = (nan != nan);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ieee/
H A Dmzero2.c7 static double nan = 0.0 / 0.0; variable
47 expect (pzero / pzero, nan);
48 expect (pzero / nzero, nan);
49 expect (nzero / pzero, nan);
50 expect (nzero / nzero, nan);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/ieee/
H A Dmzero2.c7 static double nan = 0.0 / 0.0; variable
47 expect (pzero / pzero, nan);
48 expect (pzero / nzero, nan);
49 expect (nzero / pzero, nan);
50 expect (nzero / nzero, nan);
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dcopysign.c27 } nan; member in union:__anon3764
71 } nan; member in union:__anon3768
102 } nan; member in union:__anon3772
126 } nan; member in union:__anon3775
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dcopysign.c27 } nan; member in union:__anon6941
71 } nan; member in union:__anon6945
102 } nan; member in union:__anon6949
126 } nan; member in union:__anon6952
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/
H A Dcopysign.c27 } nan; member in union:__anon4487
71 } nan; member in union:__anon4491
102 } nan; member in union:__anon4495
126 } nan; member in union:__anon4498
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/
H A Dcopysign.c27 } nan; member in union:__anon1108
71 } nan; member in union:__anon1112
102 } nan; member in union:__anon1116
126 } nan; member in union:__anon1119

Completed in 276 milliseconds

123