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 9 #[inline] feclearexcept(_mask: i32) -> i3210pub(crate) fn feclearexcept(_mask: i32) -> i32 { 11 0 12 } 13 14 #[inline] feraiseexcept(_mask: i32) -> i3215pub(crate) fn feraiseexcept(_mask: i32) -> i32 { 16 0 17 } 18 19 #[inline] fetestexcept(_mask: i32) -> i3220pub(crate) fn fetestexcept(_mask: i32) -> i32 { 21 0 22 } 23 24 #[inline] fegetround() -> i3225pub(crate) fn fegetround() -> i32 { 26 FE_TONEAREST 27 } 28