1// src: musl/src/fenv/fenv.c
2/* Dummy functions for archs lacking fenv implementation */
3
4pub(crate) const FE_UNDERFLOW: i32 = 0;
5pub(crate) const FE_INEXACT: i32 = 0;
6
7pub(crate) const FE_TONEAREST: i32 = 0;
8
9#[inline]
10pub(crate) fn feclearexcept(_mask: i32) -> i32 {
11 0
12}
13
14#[inline]
15pub(crate) fn feraiseexcept(_mask: i32) -> i32 {
16 0
17}
18
19#[inline]
20pub(crate) fn fetestexcept(_mask: i32) -> i32 {
21 0
22}
23
24#[inline]
25pub(crate) fn fegetround() -> i32 {
26 FE_TONEAREST
27}
28