Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_FISTTP.c25 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
43 ex = fetestexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
49 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
67 ex = fetestexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
68 if (ex != FE_INEXACT) { in test()
73 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
96 ex = fetestexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
97 if (ex != FE_INEXACT) { in test()
102 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
121 ex = fetestexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
[all …]
Dtest_FCOMI.c38 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test()
95 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in test_qnan()
124 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in testu_qnan()
153 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in testu_snan()
185 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in testp()
239 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in testp_qnan()
267 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); in testup_qnan()
/external/musl/src/math/
Dfmaf.c60 #if defined(FE_INEXACT) && defined(FE_UNDERFLOW) in fmaf()
61 if (e < 0x3ff-126 && e >= 0x3ff-149 && fetestexcept(FE_INEXACT)) { in fmaf()
62 feclearexcept(FE_INEXACT); in fmaf()
66 if (fetestexcept(FE_INEXACT)) in fmaf()
69 feraiseexcept(FE_INEXACT); in fmaf()
Dnearbyintf.c6 #ifdef FE_INEXACT in nearbyintf()
10 e = fetestexcept(FE_INEXACT); in nearbyintf()
13 #ifdef FE_INEXACT in nearbyintf()
15 feclearexcept(FE_INEXACT); in nearbyintf()
Dnearbyint.c8 #ifdef FE_INEXACT in nearbyint()
12 e = fetestexcept(FE_INEXACT); in nearbyint()
15 #ifdef FE_INEXACT in nearbyint()
17 feclearexcept(FE_INEXACT); in nearbyint()
Dnearbyintl.c13 #ifdef FE_INEXACT in nearbyintl()
17 e = fetestexcept(FE_INEXACT); in nearbyintl()
20 #ifdef FE_INEXACT in nearbyintl()
22 feclearexcept(FE_INEXACT); in nearbyintl()
Dfmal.c200 #ifdef FE_INEXACT in fmal()
201 feraiseexcept(FE_INEXACT); in fmal()
271 #if defined(FE_INEXACT) && defined(FE_UNDERFLOW) in fmal()
272 int e = fetestexcept(FE_INEXACT); in fmal()
273 feclearexcept(FE_INEXACT); in fmal()
278 #if defined(FE_INEXACT) && defined(FE_UNDERFLOW) in fmal()
279 if (ilogbl(ret) < -16382 && fetestexcept(FE_INEXACT)) in fmal()
282 feraiseexcept(FE_INEXACT); in fmal()
Dllrintl.c11 #elif defined(FE_INEXACT)
24 e = fetestexcept(FE_INEXACT); in llrintl()
27 feclearexcept(FE_INEXACT); in llrintl()
Dlrintl.c11 #elif defined(FE_INEXACT)
24 e = fetestexcept(FE_INEXACT); in lrintl()
27 feclearexcept(FE_INEXACT); in lrintl()
Dlrint.c29 #if LONG_MAX < 1U<<53 && defined(FE_INEXACT)
46 e = fetestexcept(FE_INEXACT); in lrint_slow()
49 feclearexcept(FE_INEXACT); in lrint_slow()
/external/rust/crates/libm/src/math/
Dfmaf.rs32 feclearexcept, fegetround, feraiseexcept, fetestexcept, FE_INEXACT, FE_TONEAREST, FE_UNDERFLOW,
74 if e < 0x3ff - 126 && e >= 0x3ff - 149 && fetestexcept(FE_INEXACT) != 0 { in fmaf()
75 feclearexcept(FE_INEXACT); in fmaf()
79 if fetestexcept(FE_INEXACT) != 0 { in fmaf()
82 feraiseexcept(FE_INEXACT); in fmaf()
/external/arm-optimized-routines/math/test/
Dulp.h137 p->ex_may = FE_INEXACT; in T()
149 if (p->y != 0 || (p->ex & FE_INEXACT)) in T()
150 p->ex |= FE_UNDERFLOW | FE_INEXACT; in T()
204 p->ex = t ? FE_INEXACT : 0; in T()
205 p->ex_may = FE_INEXACT; in T()
206 if (mpfr_underflow_p () && (p->ex & FE_INEXACT)) in T()
210 p->ex |= FE_OVERFLOW | FE_INEXACT; in T()
/external/linux-kselftest/android/patches/
D0002-Compile-breakpoints-and-x86-tests.-Test-make-vts.patch16 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW);
28 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW);
54 feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/depr/depr.c.headers/
Dfenv_h.compile.pass.cpp19 #ifndef FE_INEXACT
20 #error FE_INEXACT not defined
/external/libcxx/test/std/depr/depr.c.headers/
Dfenv_h.pass.cpp21 #ifndef FE_INEXACT
22 #error FE_INEXACT not defined
/external/libcxx/test/std/numerics/cfenv/cfenv.syn/
Dcfenv.pass.cpp21 #ifndef FE_INEXACT
22 #error FE_INEXACT not defined
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/cfenv/cfenv.syn/
Dcfenv.pass.cpp20 #ifndef FE_INEXACT
21 #error FE_INEXACT not defined
/external/musl/arch/s390x/bits/
Dfenv.h6 #define FE_INEXACT 0x00080000 macro
/external/musl/arch/riscv64/bits/
Dfenv.h5 #define FE_INEXACT 1 macro
/external/musl/arch/sh/bits/
Dfenv.h11 #define FE_INEXACT 0x04 macro
/external/musl/arch/aarch64/bits/
Dfenv.h5 #define FE_INEXACT 16 macro
/external/musl/arch/mipsn32/bits/
Dfenv.h5 #define FE_INEXACT 4 macro
/external/musl/arch/mips/bits/
Dfenv.h5 #define FE_INEXACT 4 macro
/external/musl/arch/arm/bits/
Dfenv.h9 #define FE_INEXACT 16 macro
/external/musl/arch/mips64/bits/
Dfenv.h5 #define FE_INEXACT 4 macro

12