Lines Matching defs:excepts
86 // Enables exceptions in |excepts| and returns the previously set exceptions.
87 LIBC_INLINE int enable_except(int excepts) {
88 uint32_t new_excepts = FEnv::exception_macro_to_enable_bits(excepts);
96 // Disables exceptions in |excepts| and returns the previously set exceptions.
97 LIBC_INLINE int disable_except(int excepts) {
98 uint32_t disable_bits = FEnv::exception_macro_to_enable_bits(excepts);
113 // Clears the exceptions in |excepts|.
114 LIBC_INLINE int clear_except(int excepts) {
116 uint32_t to_clear = FEnv::exception_macro_to_status_bits(excepts);
122 // Returns the set of exceptions which are from the input set |excepts|.
123 LIBC_INLINE int test_except(int excepts) {
124 uint32_t to_test = FEnv::exception_macro_to_status_bits(excepts);
129 // Set the exceptions in |excepts|.
130 LIBC_INLINE int set_except(int excepts) {
132 FEnv::set_fpscr(fpscr | FEnv::exception_macro_to_status_bits(excepts));
136 LIBC_INLINE int raise_except(int excepts) {
150 uint32_t to_raise = FEnv::exception_macro_to_status_bits(excepts);