Home
last modified time | relevance | path

Searched refs:FE_INEXACT (Results 1 – 25 of 30) sorted by relevance

12

/NextBSD/lib/msun/tests/
HDinvtrig_test.c132 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 …]
HDfma_test.c116 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 …]
HDlrint_test.c73 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()
HDcexp_test.c127 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 …]
HDlround_test.c69 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()
HDtrig_test.c224 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()
HDfenv_test.c51 #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 …]
HDexponential_test.c116 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()
HDtest-utils.h40 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \
43 #define OPT_INEXACT (ALL_STD_EXCEPT & ~FE_INEXACT)
HDlogarithm_test.c125 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()
HDnext_test.c78 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/
HDfenv.h46 #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/
HDfenv.h46 #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/
HDfloat.c43 #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/
HDfenv.h42 #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/
HDfenv.h46 #define FE_INEXACT 0x0010 macro
47 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
/NextBSD/lib/msun/riscv/
HDfenv.h55 #define FE_INEXACT 0x0001 macro
56 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
/NextBSD/lib/msun/src/
HDe_sqrtl.c135 feclearexcept(FE_INEXACT); in sqrtl()
140 if (!fetestexcept(FE_INEXACT)) { /* Quotient is exact. */ in sqrtl()
HDs_lrint.c55 feclearexcept(FE_INEXACT); in fn()
HDs_fma.c212 feraiseexcept(FE_INEXACT); in fma()
HDs_fmal.c200 feraiseexcept(FE_INEXACT); in fmal()
/NextBSD/lib/msun/aarch64/
HDfenv.h46 #define FE_INEXACT 0x00000010 macro
47 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
/NextBSD/lib/msun/x86/
HDfenv.h47 #define FE_INEXACT 0x20 macro
48 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \
/NextBSD/contrib/libc++/include/
Dcfenv22 FE_INEXACT
/NextBSD/lib/libc/mips/softfloat/
HDsoftfloat.h103 float_flag_inexact = FE_INEXACT,

12