Home
last modified time | relevance | path

Searched refs:excepts (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libc/test/src/fenv/
H A Dfeenableexcept_test.cpp38 for (int e : excepts) { in TEST()
44 for (int e1 : excepts) { in TEST()
45 for (int e2 : excepts) { in TEST()
52 for (int e1 : excepts) { in TEST()
53 for (int e2 : excepts) { in TEST()
54 for (int e3 : excepts) { in TEST()
62 for (int e1 : excepts) { in TEST()
63 for (int e2 : excepts) { in TEST()
64 for (int e3 : excepts) { in TEST()
74 for (int e1 : excepts) { in TEST()
[all …]
H A Dexception_status_test.cpp31 for (int e : excepts) { in TEST()
43 for (int e1 : excepts) { in TEST()
44 for (int e2 : excepts) { in TEST()
58 for (int e1 : excepts) { in TEST()
59 for (int e2 : excepts) { in TEST()
60 for (int e3 : excepts) { in TEST()
75 for (int e1 : excepts) { in TEST()
76 for (int e2 : excepts) { in TEST()
77 for (int e3 : excepts) { in TEST()
94 for (int e1 : excepts) { in TEST()
[all …]
H A Dfeclearexcept_test.cpp18 uint16_t excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
23 for (uint16_t e : excepts) in TEST()
28 for (uint16_t e1 : excepts) { in TEST()
29 for (uint16_t e2 : excepts) { in TEST()
30 for (uint16_t e3 : excepts) { in TEST()
31 for (uint16_t e4 : excepts) { in TEST()
32 for (uint16_t e5 : excepts) { in TEST()
H A Dgetenv_and_setenv_test.cpp24 int excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
27 for (int e : excepts) { in TEST()
48 int excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
51 for (int e : excepts) { in TEST()
H A Dfeholdexcept_test.cpp33 int excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
36 for (int e : excepts) { in TEST()
H A Denabled_exceptions_test.cpp43 int excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
52 for (int e : excepts) { in TEST()
H A Dexception_flags_test.cpp23 int excepts[] = {FE_DIVBYZERO, FE_INVALID, FE_INEXACT, FE_OVERFLOW, in TEST() local
26 for (int e : excepts) { in TEST()
/llvm-project-15.0.7/libc/src/__support/FPUtil/aarch64/
H A Dfenv_darwin_impl.h82 return (excepts & EX_INVALID ? FE_INVALID : 0) | in exception_value_to_status()
83 (excepts & EX_DIVBYZERO ? FE_DIVBYZERO : 0) | in exception_value_to_status()
84 (excepts & EX_OVERFLOW ? FE_OVERFLOW : 0) | in exception_value_to_status()
85 (excepts & EX_UNDERFLOW ? FE_UNDERFLOW : 0) | in exception_value_to_status()
86 (excepts & EX_INEXACT ? FE_INEXACT : 0) | in exception_value_to_status()
108 static inline int enable_except(int excepts) { in enable_except() argument
119 static inline int disable_except(int excepts) { in disable_except() argument
134 static inline int clear_except(int excepts) { in clear_except() argument
142 static inline int test_except(int excepts) { in test_except() argument
148 static inline int set_except(int excepts) { in set_except() argument
[all …]
H A DFEnvImpl.h54 return (excepts & FE_INVALID ? INVALID : 0) | in getStatusValueForExcept()
55 (excepts & FE_DIVBYZERO ? DIVBYZERO : 0) | in getStatusValueForExcept()
56 (excepts & FE_OVERFLOW ? OVERFLOW : 0) | in getStatusValueForExcept()
57 (excepts & FE_UNDERFLOW ? UNDERFLOW : 0) | in getStatusValueForExcept()
58 (excepts & FE_INEXACT ? INEXACT : 0); in getStatusValueForExcept()
78 static inline int enable_except(int excepts) { in enable_except() argument
88 static inline int disable_except(int excepts) { in disable_except() argument
105 static inline int clear_except(int excepts) { in clear_except() argument
113 static inline int test_except(int excepts) { in test_except() argument
120 static inline int set_except(int excepts) { in set_except() argument
[all …]
/llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/
H A DFEnvImpl.h71 static inline uint16_t get_status_value_for_except(int excepts) { in get_status_value_for_except() argument
74 return (excepts & FE_INVALID ? ExceptionFlags::INVALID : 0) | in get_status_value_for_except()
76 (excepts & __FE_DENORM ? ExceptionFlags::DENORMAL : 0) | in get_status_value_for_except()
81 (excepts & FE_INEXACT ? ExceptionFlags::INEXACT : 0); in get_status_value_for_except()
150 static inline int enable_except(int excepts) { in enable_except() argument
177 static inline int disable_except(int excepts) { in disable_except() argument
203 static inline int clear_except(int excepts) { in clear_except() argument
211 mxcsr &= ~internal::get_status_value_for_except(excepts); in clear_except()
216 static inline int test_except(int excepts) { in test_except() argument
224 static inline int set_except(int excepts) { in set_except() argument
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dstop.cpp23 auto excepts{fetestexcept(FE_ALL_EXCEPT)}; in DescribeIEEESignaledExceptions() local
25 auto excepts{std::fetestexcept(FE_ALL_EXCEPT)}; in DescribeIEEESignaledExceptions()
27 if (excepts) { in DescribeIEEESignaledExceptions()
29 if (excepts & FE_DIVBYZERO) { in DescribeIEEESignaledExceptions()
32 if (excepts & FE_INEXACT) { in DescribeIEEESignaledExceptions()
35 if (excepts & FE_INVALID) { in DescribeIEEESignaledExceptions()
38 if (excepts & FE_OVERFLOW) { in DescribeIEEESignaledExceptions()
41 if (excepts & FE_UNDERFLOW) { in DescribeIEEESignaledExceptions()
/llvm-project-15.0.7/libcxx/include/
H A Dcfenv40 int feclearexcept(int excepts);
41 int fegetexceptflag(fexcept_t* flagp, int excepts);
42 int feraiseexcept(int excepts);
43 int fesetexceptflag(const fexcept_t* flagp, int excepts);
44 int fetestexcept(int excepts);
/llvm-project-15.0.7/libc/src/fenv/
H A Dfegetexceptflag.cpp17 LLVM_LIBC_FUNCTION(int, fegetexceptflag, (fexcept_t * flagp, int excepts)) {
19 *flagp = static_cast<fexcept_t>(fputil::test_except(FE_ALL_EXCEPT) & excepts);
H A Dfesetexceptflag.cpp18 (const fexcept_t *flagp, int excepts)) {
23 int excepts_to_set = static_cast<int>(*flagp) & excepts;
H A Dfegetexceptflag.h16 int fegetexceptflag(fexcept_t *, int excepts);
H A Dfesetexceptflag.h16 int fesetexceptflag(const fexcept_t *, int excepts);