Searched refs:ALL_STD_EXCEPT (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/tools/regression/lib/msun/
H A Dtest-exponential.c44 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
100 testall0(0.0, 1.0, ALL_STD_EXCEPT, 0);
101 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0);
102 testall0(-0.0, 1.0, ALL_STD_EXCEPT, 0);
103 testall1(-0.0, -0.0, ALL_STD_EXCEPT, 0);
106 testall0(NAN, NAN, ALL_STD_EXCEPT, 0);
107 testall1(NAN, NAN, ALL_STD_EXCEPT, 0);
110 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
111 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
114 testall0(-INFINITY, 0.0, ALL_STD_EXCEPT,
[all...]
H A Dtest-logarithm.c44 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
101 testall0(1.0, 0.0, ALL_STD_EXCEPT, 0);
102 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0);
103 testall1(-0.0, -0.0, ALL_STD_EXCEPT, 0);
106 testall0(NAN, NAN, ALL_STD_EXCEPT, 0);
107 testall1(NAN, NAN, ALL_STD_EXCEPT, 0);
110 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
111 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
114 testall0(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
115 testall1(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALI
[all...]
H A Dtest-fma.c40 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
97 testall(0.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
98 testall(1.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
99 testall(0.0, 1.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
100 testall(0.0, 0.0, 1.0, 1.0, ALL_STD_EXCEPT, 0);
102 testall(-0.0, 0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
103 testall(0.0, -0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
104 testall(-0.0, -0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
105 testall(0.0, 0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
106 testall(-0.0, -0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT,
[all...]
H A Dtest-trig.c45 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
104 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0);
105 testall(tan, -0.0, -0.0, ALL_STD_EXCEPT, 0);
106 testall(cos, 0.0, 1.0, ALL_STD_EXCEPT, 0);
107 testall(cos, -0.0, 1.0, ALL_STD_EXCEPT, 0);
108 testall(sin, 0.0, 0.0, ALL_STD_EXCEPT, 0);
109 testall(sin, -0.0, -0.0, ALL_STD_EXCEPT, 0);
112 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_INVALI
[all...]
H A Dtest-fenv.c49 * FE_ALL_EXCEPT == ALL_STD_EXCEPT.
51 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
164 assert((fetestexcept(ALL_STD_EXCEPT) | FE_INEXACT) ==
167 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
170 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
190 raiseexcept(ALL_STD_EXCEPT);
192 assert(fetestexcept(ALL_STD_EXCEPT) ==
193 (ALL_STD_EXCEPT ^ excepts));
198 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
199 assert(fesetexceptflag(&flag, ALL_STD_EXCEPT
[all...]
H A Dtest-nearbyint.c44 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
63 feclearexcept(ALL_STD_EXCEPT);
66 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
70 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
74 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
H A Dtest-cexp.c41 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
183 testall(0.0, 1.0, ALL_STD_EXCEPT, 0, 1);
184 testall(-0.0, 1.0, ALL_STD_EXCEPT, 0, 1);
185 testall(cpackl(0.0, -0.0), cpackl(1.0, -0.0), ALL_STD_EXCEPT, 0, 1);
186 testall(cpackl(-0.0, -0.0), cpackl(1.0, -0.0), ALL_STD_EXCEPT, 0, 1);
202 ALL_STD_EXCEPT & ~FE_INVALID, 0, 0);
207 ALL_STD_EXCEPT & ~(FE_INVALID | FE_INEXACT), 0, 0);
211 testall(cpackl(NAN, 0.0), cpackl(NAN, 0.0), ALL_STD_EXCEPT, 0, 1);
212 testall(cpackl(NAN, -0.0), cpackl(NAN, -0.0), ALL_STD_EXCEPT, 0, 1);
216 ALL_STD_EXCEPT, local
222 ALL_STD_EXCEPT, 0, 0); local
235 ALL_STD_EXCEPT, FE_INVALID, 1); local
[all...]
H A Dtest-fmaxmin.c39 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
64 feclearexcept(ALL_STD_EXCEPT); \
66 if (fetestexcept(ALL_STD_EXCEPT)) { \
H A Dtest-next.c44 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID |\ macro
48 feclearexcept(ALL_STD_EXCEPT); \
53 feclearexcept(ALL_STD_EXCEPT); \
58 feclearexcept(ALL_STD_EXCEPT); \
235 actual_except = fetestexcept(ALL_STD_EXCEPT);
H A Dtest-invtrig.c42 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
62 assert((func, fetestexcept(ALL_STD_EXCEPT) == (excepts))); \
82 assert((func, fetestexcept(ALL_STD_EXCEPT) == (excepts))); \

Completed in 110 milliseconds