Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 25 of 44) sorted by relevance

12

/glibc-2.36/sysdeps/ieee754/
Dk_standard.c101 struct exception exc; in __kernel_standard() local
117 exc.arg1 = x; in __kernel_standard()
118 exc.arg2 = y; in __kernel_standard()
124 exc.type = DOMAIN; in __kernel_standard()
125 exc.name = CSTR ("acos"); in __kernel_standard()
127 exc.retval = HUGE; in __kernel_standard()
129 exc.retval = NAN; in __kernel_standard()
132 else if (!matherr(&exc)) { in __kernel_standard()
143 exc.type = DOMAIN; in __kernel_standard()
144 exc.name = CSTR ("asin"); in __kernel_standard()
[all …]
Dk_standardl.c53 struct exception exc; in __kernel_standard_l() local
67 exc.arg1 = dx; in __kernel_standard_l()
68 exc.arg2 = dy; in __kernel_standard_l()
69 exc.type = OVERFLOW; in __kernel_standard_l()
70 exc.name = (char *) "powl"; in __kernel_standard_l()
73 exc.retval = HUGE; in __kernel_standard_l()
76 exc.retval = -HUGE; in __kernel_standard_l()
80 exc.retval = HUGE_VAL; in __kernel_standard_l()
83 exc.retval = -HUGE_VAL; in __kernel_standard_l()
87 else if (!matherr (&exc)) in __kernel_standard_l()
[all …]
/glibc-2.36/math/
Dtest-fexcept.c30 feraiseexcept_exact (int exc) in feraiseexcept_exact() argument
40 if ((exc & FE_INEXACT) != 0 in feraiseexcept_exact()
41 || (exc & mask) == 0 in feraiseexcept_exact()
43 return feraiseexcept (exc); in feraiseexcept_exact()
44 int ret = feraiseexcept (exc); in feraiseexcept_exact()
48 return feraiseexcept (exc); in feraiseexcept_exact()
92 test_except (int exc, const char *exc_name) in test_except() argument
100 int ret = fegetexceptflag (&clear_saved_exc, exc); in test_except()
119 ret = feraiseexcept_exact (exc); in test_except()
125 if (exc == 0 || EXCEPTION_TESTS (float)) in test_except()
[all …]
Dtest-fetestexceptflag.c82 test_fetestexceptflag (int exc, const char *exc_name) in test_fetestexceptflag() argument
91 result |= test_one (exc, 0, exc); in test_fetestexceptflag()
92 result |= test_one (exc, 0, FE_ALL_EXCEPT); in test_fetestexceptflag()
93 result |= test_one (exc, exc, exc); in test_fetestexceptflag()
94 result |= test_one (exc, exc, FE_ALL_EXCEPT); in test_fetestexceptflag()
95 result |= test_one (exc, FE_ALL_EXCEPT & ~exc, exc); in test_fetestexceptflag()
96 result |= test_one (exc, FE_ALL_EXCEPT & ~exc, FE_ALL_EXCEPT); in test_fetestexceptflag()
97 result |= test_one (exc, FE_ALL_EXCEPT, exc); in test_fetestexceptflag()
98 result |= test_one (exc, FE_ALL_EXCEPT, FE_ALL_EXCEPT); in test_fetestexceptflag()
Dtest-fesetexcept.c24 test_fesetexcept (int exc, const char *exc_name) in test_fesetexcept() argument
30 int ret = fesetexcept (exc); in test_fesetexcept()
36 if (exc == 0 || EXCEPTION_TESTS (float)) in test_fesetexcept()
46 if (ret != exc) in test_fesetexcept()
49 (unsigned int) ret, (unsigned int) exc); in test_fesetexcept()
56 if (exc == 0 && !EXCEPTION_TESTS (float)) in test_fesetexcept()
64 ret = fesetexcept (exc); in test_fesetexcept()
79 ret = feraiseexcept (FE_ALL_EXCEPT & ~exc); in test_fesetexcept()
85 ret = fesetexcept (exc); in test_fesetexcept()
Dgen-libm-test.py494 for exc in sorted(EXC_EXPECTED.keys()):
495 exc_expected = EXC_EXPECTED[exc]
496 exc_ok = EXC_OK[exc]
497 no_exc = EXC_NO[exc]
498 exc_cond = flag_cond.get(exc, '0')
499 exc_ok_cond = flag_cond.get(exc + '-ok', '0')
/glibc-2.36/sysdeps/ia64/fpu/
Dlibm_error.c145 struct __exception exc; in __libm_error_support() local
147 struct exception exc; in __libm_error_support()
251 #define NOT_MATHERRD exc.arg1=*(double *)arg1;exc.arg2=*(double *)arg2;exc.retval=*(double *)retval… in __libm_error_support()
257 #define NAMED exc.name in __libm_error_support()
277 #define SINGD exc.type = SING in __libm_error_support()
278 #define DOMAIND exc.type = DOMAIN in __libm_error_support()
279 #define OVERFLOWD exc.type = OVERFLOW in __libm_error_support()
280 #define UNDERFLOWD exc.type = UNDERFLOW in __libm_error_support()
281 #define TLOSSD exc.type = TLOSS in __libm_error_support()
289 #define INPUT_XD (exc.arg1=*(double*)arg1) in __libm_error_support()
[all …]
/glibc-2.36/sysdeps/generic/
Dunwind-resume.c35 _Unwind_Resume (struct _Unwind_Exception *exc) in _Unwind_Resume() argument
37 UNWIND_LINK_PTR (link (), _Unwind_Resume) (exc); in _Unwind_Resume()
48 _Unwind_ForcedUnwind (struct _Unwind_Exception *exc, _Unwind_Stop_Fn stop, in _Unwind_ForcedUnwind() argument
52 (exc, stop, stop_argument); in _Unwind_ForcedUnwind()
/glibc-2.36/sysdeps/m68k/fpu/
Dfegetexcept.c24 unsigned int exc; in fegetexcept() local
27 __asm__ ("fmove%.l %!,%0" : "=dm" (exc)); in fegetexcept()
29 return (exc >> 6) & FE_ALL_EXCEPT; in fegetexcept()
/glibc-2.36/sysdeps/i386/fpu/
Dfegetexcept.c24 unsigned short int exc; in fegetexcept() local
27 __asm__ ("fstcw %0" : "=m" (*&exc)); in fegetexcept()
29 return (~exc) & FE_ALL_EXCEPT; in fegetexcept()
/glibc-2.36/sysdeps/x86_64/fpu/
Dfegetexcept.c24 unsigned short int exc; in fegetexcept() local
27 __asm__ ("fstcw %0" : "=m" (*&exc)); in fegetexcept()
29 return (~exc) & FE_ALL_EXCEPT; in fegetexcept()
/glibc-2.36/sysdeps/sparc/fpu/
Dfegetexcept.c25 fenv_t exc; in fegetexcept() local
26 __fenv_stfsr (exc); in fegetexcept()
28 return (exc >> 18) & FE_ALL_EXCEPT; in fegetexcept()
/glibc-2.36/sysdeps/csky/fpu/
Dfegetexcept.c26 unsigned int exc; in fegetexcept() local
29 _FPU_GETCW (exc); in fegetexcept()
31 return (exc & ENABLE_MASK) >> ENABLE_SHIFT; in fegetexcept()
/glibc-2.36/sysdeps/mips/fpu/
Dfegetexcept.c26 unsigned int exc; in fegetexcept() local
29 _FPU_GETCW (exc); in fegetexcept()
31 return (exc & ENABLE_MASK) >> ENABLE_SHIFT; in fegetexcept()
/glibc-2.36/sysdeps/loongarch/fpu/
Dfegetexcept.c26 unsigned int exc; in fegetexcept() local
29 _FPU_GETCW (exc); in fegetexcept()
31 return (exc & ENABLE_MASK) << ENABLE_SHIFT; in fegetexcept()
/glibc-2.36/sysdeps/alpha/fpu/
Dfegetexcept.c24 unsigned long int exc; in fegetexcept() local
26 exc = __ieee_get_fp_control (); in fegetexcept()
28 return (exc & SWCR_ENABLE_MASK) << SWCR_ENABLE_SHIFT; in fegetexcept()
/glibc-2.36/sysdeps/s390/fpu/
Dfegetexcept.c25 fexcept_t exc; in fegetexcept() local
27 _FPU_GETCW (exc); in fegetexcept()
28 return ((exc & FPC_EXCEPTION_MASK) >> FPC_EXCEPTION_MASK_SHIFT); in fegetexcept()
/glibc-2.36/stdio-common/
Dscanf11.c24 int exc = 0; in main() local
40 exc = 1; in main()
44 return exc; in main()
/glibc-2.36/nptl/
Dunwind.c110 unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc) in unwind_cleanup() argument
127 THREAD_SETMEM (self, exc.exception_class, 0); in __cleanup_fct_attribute()
128 THREAD_SETMEM (self, exc.exception_cleanup, &unwind_cleanup); in __cleanup_fct_attribute()
130 _Unwind_ForcedUnwind (&self->exc, unwind_stop, ibuf); in __cleanup_fct_attribute()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/
Dtst-strtold-ldbl-128ibm.c34 int exc = fetestexcept (FE_ALL_EXCEPT); in test_strtold_value() local
37 s, x.d[0], x.d[1], exc, new_errno); in test_strtold_value()
52 if (exc == exp_exc) in test_strtold_value()
/glibc-2.36/hurd/
Dexc2signal.c33 switch (detail->exc) in _hurd_exception2signal()
37 detail->code = detail->exc; in _hurd_exception2signal()
Dfaultexc.defs5 #include <mach/exc.defs>
/glibc-2.36/sysdeps/mach/hurd/i386/
Dexc2signal.c31 switch (detail->exc) in exception2signal()
35 detail->code = detail->exc; in exception2signal()
Dtrampoline.c46 if (detail->exc == EXC_BAD_ACCESS) in fill_siginfo()
237 if (detail->exc) in _hurd_setup_sighandler()
/glibc-2.36/elf/
Dstatic-stubs.c31 _Unwind_Resume (struct _Unwind_Exception *exc __attribute__ ((unused))) in _Unwind_Resume() argument

12