Home
last modified time | relevance | path

Searched refs:_ROUND_SHIFT (Results 1 – 3 of 3) sorted by relevance

/haiku/headers/posix/arch/arm64/
H A Dfenv.h64 #define _ROUND_SHIFT 22 macro
141 return ((__r >> _ROUND_SHIFT) & _ROUND_MASK); in fegetround()
152 __r &= ~(_ROUND_MASK << _ROUND_SHIFT); in fesetround()
153 __r |= __round << _ROUND_SHIFT; in fesetround()
167 *__envp |= __r & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT)); in fegetenv()
183 *__envp |= __r & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT)); in feholdexcept()
194 __msr_fpsr((*__envp) & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT))); in fesetenv()
/haiku/headers/posix/arch/riscv64/
H A Dfenv.h64 #define _ROUND_SHIFT 5 macro
65 #define FE_TONEAREST (0x00 << _ROUND_SHIFT)
66 #define FE_TOWARDZERO (0x01 << _ROUND_SHIFT)
67 #define FE_DOWNWARD (0x02 << _ROUND_SHIFT)
68 #define FE_UPWARD (0x03 << _ROUND_SHIFT)
/haiku/headers/posix/arch/sparc64/
H A Dfenv.h66 #define _ROUND_SHIFT 30 macro
169 return ((__r >> _ROUND_SHIFT) & _ROUND_MASK); in fegetround()
180 __r &= ~(_ROUND_MASK << _ROUND_SHIFT); in fesetround()
181 __r |= __round << _ROUND_SHIFT; in fesetround()