| /NextBSD/lib/msun/tests/ |
| HD | invtrig_test.c | 132 testall(acos, 0.0, pi / 2, FE_INEXACT); in test_special() 135 testall(acos, -0.0, pi / 2, FE_INEXACT); in test_special() 140 testall(atan, INFINITY, pi / 2, FE_INEXACT); in test_special() 143 testall(atan, -INFINITY, -pi / 2, FE_INEXACT); in test_special() 160 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT); in test_special_atan2() 161 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT); in test_special_atan2() 165 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); in test_special_atan2() 166 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT); in test_special_atan2() 167 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT); in test_special_atan2() 168 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT); in test_special_atan2() [all …]
|
| HD | fma_test.c | 116 ALL_STD_EXCEPT, FE_INEXACT | FE_UNDERFLOW); in test_zeroes() 118 ALL_STD_EXCEPT, FE_INEXACT | FE_UNDERFLOW); in test_zeroes() 120 ALL_STD_EXCEPT, FE_INEXACT | FE_UNDERFLOW); in test_zeroes() 191 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 193 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 195 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 198 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 204 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 206 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() 208 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z() [all …]
|
| HD | lrint_test.c | 73 testall(0.75, 0, FE_INEXACT); in run_tests() 74 testall(-0.5, -1, FE_INEXACT); in run_tests() 78 testall(0.25, 0, FE_INEXACT); in run_tests() 79 testall(0.5, 0, FE_INEXACT); in run_tests() 80 testall(-2.5, -2, FE_INEXACT); in run_tests() 83 testall(0x1234.fp0, 0x1235, FE_INEXACT); in run_tests() 90 test(lrint, -0x80000000.4p0, -0x80000000l, FE_INEXACT); in run_tests() 95 test(lrint, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT); in run_tests() 100 test(lrint, 0x7fffffff.8p0, 0x7fffffffl, FE_INEXACT); in run_tests() 101 test(lrint, -0x80000000.8p0, -0x80000000l, FE_INEXACT); in run_tests()
|
| HD | cexp_test.c | 127 ALL_STD_EXCEPT & ~(FE_INVALID | FE_INEXACT), 0, 0); in test_nan() 159 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 161 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 163 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 165 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 173 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 175 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 177 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 179 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_inf() 219 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in test_imaginaries() [all …]
|
| HD | lround_test.c | 69 testall(0.25, 0, FE_INEXACT); in main() 70 testall(0.5, 1, FE_INEXACT); in main() 71 testall(-0.5, -1, FE_INEXACT); in main() 74 testall(0x1234.fp0, 0x1235, FE_INEXACT); in main() 82 test(lround, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT); in main() 83 test(lround, -0x80000000.4p0, -0x80000000l, FE_INEXACT); in main()
|
| HD | trig_test.c | 224 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 226 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 228 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 240 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 242 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 244 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 246 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 248 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests() 250 ALL_STD_EXCEPT, FE_INEXACT); in run_accuracy_tests()
|
| HD | fenv_test.c | 51 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ 61 FE_INEXACT, 190 excepts |= FE_INEXACT; in test_fetestclearexcept() 191 assert((fetestexcept(ALL_STD_EXCEPT) | FE_INEXACT) == in test_fetestclearexcept() 250 excepts |= FE_INEXACT; in test_feraiseexcept() 251 assert((fetestexcept(ALL_STD_EXCEPT) | FE_INEXACT) == in test_feraiseexcept() 260 assert(feraiseexcept(FE_OVERFLOW | FE_UNDERFLOW | FE_INEXACT) == 0); in test_feraiseexcept() 323 (excepts & FE_INEXACT) == 0) in test_fegsetenv() 324 assert(feclearexcept(FE_INEXACT) == 0); in test_fegsetenv() 370 if (except == FE_INEXACT) in test_masking() [all …]
|
| HD | exponential_test.c | 116 testall0(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW); in run_generic_tests() 117 testall1(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW); in run_generic_tests() 120 testall0(-50000.0, 0.0, ALL_STD_EXCEPT, FE_UNDERFLOW | FE_INEXACT); in run_generic_tests() 122 testall1(-50000.0, -1.0, ALL_STD_EXCEPT, FE_INEXACT); in run_generic_tests()
|
| HD | test-utils.h | 40 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ 43 #define OPT_INEXACT (ALL_STD_EXCEPT & ~FE_INEXACT)
|
| HD | logarithm_test.c | 125 testall0(0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in run_generic_tests() 126 testall0(-0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in run_generic_tests() 127 testall1(-1.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in run_generic_tests()
|
| HD | next_test.c | 78 static const int ex_under = FE_UNDERFLOW | FE_INEXACT; /* shorthand */ in main() 79 static const int ex_over = FE_OVERFLOW | FE_INEXACT; in main()
|
| /NextBSD/lib/msun/sparc64/ |
| HD | fenv.h | 46 #define FE_INEXACT 0x00000020 macro 47 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ 143 if (__excepts & FE_INEXACT) { in feraiseexcept()
|
| /NextBSD/lib/msun/arm/ |
| HD | fenv.h | 46 #define FE_INEXACT 0x0010 macro 49 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ 52 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
|
| /NextBSD/tools/regression/usr.bin/cc/ |
| HD | float.c | 43 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ 158 x == 0 && fetestexcept(ALL_STD_EXCEPT) == FE_INEXACT); in run_tests() 176 x == 0 && fetestexcept(ALL_STD_EXCEPT) == FE_INEXACT); in run_tests()
|
| /NextBSD/lib/msun/powerpc/ |
| HD | fenv.h | 42 #define FE_INEXACT 0x02000000 macro 67 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ 86 #define _ENABLE_MASK ((FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \
|
| /NextBSD/lib/msun/mips/ |
| HD | fenv.h | 46 #define FE_INEXACT 0x0010 macro 47 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
|
| /NextBSD/lib/msun/riscv/ |
| HD | fenv.h | 55 #define FE_INEXACT 0x0001 macro 56 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
|
| /NextBSD/lib/msun/src/ |
| HD | e_sqrtl.c | 135 feclearexcept(FE_INEXACT); in sqrtl() 140 if (!fetestexcept(FE_INEXACT)) { /* Quotient is exact. */ in sqrtl()
|
| HD | s_lrint.c | 55 feclearexcept(FE_INEXACT); in fn()
|
| HD | s_fma.c | 212 feraiseexcept(FE_INEXACT); in fma()
|
| HD | s_fmal.c | 200 feraiseexcept(FE_INEXACT); in fmal()
|
| /NextBSD/lib/msun/aarch64/ |
| HD | fenv.h | 46 #define FE_INEXACT 0x00000010 macro 47 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
|
| /NextBSD/lib/msun/x86/ |
| HD | fenv.h | 47 #define FE_INEXACT 0x20 macro 48 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \
|
| /NextBSD/contrib/libc++/include/ |
| D | cfenv | 22 FE_INEXACT
|
| /NextBSD/lib/libc/mips/softfloat/ |
| HD | softfloat.h | 103 float_flag_inexact = FE_INEXACT,
|