Home
last modified time | relevance | path

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

12

/third_party/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()
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()
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()
Dlrintl.c11 #elif defined(FE_INEXACT)
24 e = fetestexcept(FE_INEXACT); in lrintl()
27 feclearexcept(FE_INEXACT); in lrintl()
Dllrintl.c11 #elif defined(FE_INEXACT)
24 e = fetestexcept(FE_INEXACT); in llrintl()
27 feclearexcept(FE_INEXACT); in llrintl()
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()
/third_party/musl/porting/liteos_a/kernel/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()
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()
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()
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()
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()
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()
/third_party/musl/libc-test/src/math/
Dfenv.c28 #ifdef FE_INEXACT
29 F(FE_INEXACT),
57 #if defined FE_OVERFLOW && defined FE_INEXACT in test_except()
58 if (te[i].i == FE_OVERFLOW && r == (FE_OVERFLOW|FE_INEXACT)) in test_except()
61 #if defined FE_UNDERFLOW && defined FE_INEXACT in test_except()
62 if (te[i].i == FE_UNDERFLOW && r == (FE_UNDERFLOW|FE_INEXACT)) in test_except()
/third_party/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()
/third_party/musl/libc-test/src/common/
Dmtest.h35 #ifdef FE_INEXACT
36 #define INEXACT FE_INEXACT
/third_party/musl/arch/riscv64/bits/
Dfenv.h5 #define FE_INEXACT 1 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dfenv.h5 #define FE_INEXACT 16 macro
/third_party/musl/arch/s390x/bits/
Dfenv.h6 #define FE_INEXACT 0x00080000 macro
/third_party/musl/arch/sh/bits/
Dfenv.h11 #define FE_INEXACT 0x04 macro
/third_party/musl/arch/aarch64/bits/
Dfenv.h5 #define FE_INEXACT 16 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dfenv.h9 #define FE_INEXACT 16 macro

12