1 // src: musl/src/fenv/fenv.c 2 /* Dummy functions for archs lacking fenv implementation */ 3 4 pub(crate) const FE_UNDERFLOW: i32 = 0; 5 pub(crate) const FE_INEXACT: i32 = 0; 6 7 pub(crate) const FE_TONEAREST: i32 = 0; 8 pub(crate) const FE_TOWARDZERO: i32 = 0; 9 10 #[inline] feclearexcept(_mask: i32) -> i3211pub(crate) fn feclearexcept(_mask: i32) -> i32 { 12 0 13 } 14 15 #[inline] feraiseexcept(_mask: i32) -> i3216pub(crate) fn feraiseexcept(_mask: i32) -> i32 { 17 0 18 } 19 20 #[inline] fetestexcept(_mask: i32) -> i3221pub(crate) fn fetestexcept(_mask: i32) -> i32 { 22 0 23 } 24 25 #[inline] fegetround() -> i3226pub(crate) fn fegetround() -> i32 { 27 FE_TONEAREST 28 } 29 30 #[inline] fesetround(_r: i32) -> i3231pub(crate) fn fesetround(_r: i32) -> i32 { 32 0 33 } 34