/haiku/headers/posix/arch/riscv64/ |
H A D | fenv.h | 92 int feclearexcept(int __excepts); 93 int fegetexceptflag(fexcept_t *__flagp, int __excepts); 94 int fesetexceptflag(const fexcept_t *__flagp, int __excepts); 95 int feraiseexcept(int __excepts); 96 int fetestexcept(int __excepts); 105 feclearexcept(int __excepts) in feclearexcept() argument 108 __asm __volatile("csrc fflags, %0" :: "r"(__excepts)); in feclearexcept() 114 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 119 *__flagp = __fcsr & __excepts; in fegetexceptflag() 125 fesetexceptflag(const fexcept_t *__flagp, int __excepts) in fesetexceptflag() argument [all …]
|
/haiku/headers/posix/arch/sparc64/ |
H A D | fenv.h | 82 feclearexcept(int __excepts) in feclearexcept() argument 87 __r &= ~__excepts; in feclearexcept() 93 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 98 *__flagp = __r & __excepts; in fegetexceptflag() 103 fesetexceptflag(const fexcept_t *__flagp, int __excepts) in fesetexceptflag() argument 108 __r &= ~__excepts; in fesetexceptflag() 109 __r |= *__flagp & __excepts; in fesetexceptflag() 120 feraiseexcept(int __excepts) in feraiseexcept() argument 131 if (__excepts & FE_INVALID) { in feraiseexcept() 135 if (__excepts & FE_DIVBYZERO) { in feraiseexcept() [all …]
|
/haiku/headers/posix/arch/ppc/ |
H A D | fenv.h | 104 feclearexcept(int __excepts) in feclearexcept() argument 108 if (__excepts & FE_INVALID) in feclearexcept() 109 __excepts |= FE_ALL_INVALID; in feclearexcept() 111 __r.__bits.__reg &= ~__excepts; in feclearexcept() 117 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 122 *__flagp = __r.__bits.__reg & __excepts; in fegetexceptflag() 127 fesetexceptflag(const fexcept_t *__flagp, int __excepts) in fesetexceptflag() argument 131 if (__excepts & FE_INVALID) in fesetexceptflag() 132 __excepts |= FE_ALL_EXCEPT; in fesetexceptflag() 134 __r.__bits.__reg &= ~__excepts; in fesetexceptflag() [all …]
|
/haiku/headers/posix/arch/arm/ |
H A D | fenv.h | 74 feclearexcept(int __excepts) in feclearexcept() argument 79 __fpsr &= ~__excepts; in feclearexcept() 85 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 90 *__flagp = __fpsr & __excepts; in fegetexceptflag() 95 fesetexceptflag(const fexcept_t *__flagp, int __excepts) in fesetexceptflag() argument 100 __fpsr &= ~__excepts; in fesetexceptflag() 101 __fpsr |= *__flagp & __excepts; in fesetexceptflag() 107 feraiseexcept(int __excepts) in feraiseexcept() argument 109 fexcept_t __ex = __excepts; in feraiseexcept() 111 fesetexceptflag(&__ex, __excepts); /* XXX */ in feraiseexcept() [all …]
|
/haiku/src/system/libroot/posix/arch/arm64/ |
H A D | fenv.c | 43 extern inline int feclearexcept(int __excepts); 44 extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts); 45 extern inline int fesetexceptflag(const fexcept_t *__flagp, int __excepts); 46 extern inline int feraiseexcept(int __excepts); 47 extern inline int fetestexcept(int __excepts);
|
/haiku/headers/posix/arch/arm64/ |
H A D | fenv.h | 83 feclearexcept(int __excepts) in feclearexcept() argument 88 __r &= ~__excepts; in feclearexcept() 94 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 99 *__flagp = __r & __excepts; in fegetexceptflag() 104 fesetexceptflag(const fexcept_t *__flagp, int __excepts) in fesetexceptflag() argument 109 __r &= ~__excepts; in fesetexceptflag() 110 __r |= *__flagp & __excepts; in fesetexceptflag() 116 feraiseexcept(int __excepts) in feraiseexcept() argument 121 __r |= __excepts; in feraiseexcept() 127 fetestexcept(int __excepts) in fetestexcept() argument [all …]
|
/haiku/headers/posix/arch/x86_64/ |
H A D | fenv.h | 94 feclearexcept(int __excepts) in feclearexcept() argument 98 if (__excepts == FE_ALL_EXCEPT) { in feclearexcept() 102 __env.__x87.__status &= ~__excepts; in feclearexcept() 106 __env.__mxcsr &= ~__excepts; in feclearexcept() 112 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 119 *__flagp = (__mxcsr | __status) & __excepts; in fegetexceptflag() 123 int fesetexceptflag(const fexcept_t *__flagp, int __excepts); 124 int feraiseexcept(int __excepts); 127 fetestexcept(int __excepts) in fetestexcept() argument 134 return ((__status | __mxcsr) & __excepts); in fetestexcept()
|
/haiku/headers/posix/arch/x86/ |
H A D | fenv.h | 115 feclearexcept(int __excepts) in feclearexcept() argument 120 if (__excepts == FE_ALL_EXCEPT) { in feclearexcept() 124 __env.__status &= ~__excepts; in feclearexcept() 129 __mxcsr &= ~__excepts; in feclearexcept() 136 fegetexceptflag(fexcept_t *__flagp, int __excepts) in fegetexceptflag() argument 145 *__flagp = (__mxcsr | __status) & __excepts; in fegetexceptflag() 149 int fesetexceptflag(const fexcept_t *__flagp, int __excepts); 150 int feraiseexcept(int __excepts); 153 fetestexcept(int __excepts) in fetestexcept() argument 162 return ((__status | __mxcsr) & __excepts); in fetestexcept()
|