//! `float.h` implementation. //! //! See . use crate::{ header::_fenv::{FE_TONEAREST, fegetround}, platform::types::c_int, }; /// See . pub const FLT_RADIX: c_int = 2; /// See . #[unsafe(no_mangle)] pub unsafe extern "C" fn flt_rounds() -> c_int { match unsafe { fegetround() } { FE_TONEAREST => 1, _ => -1, } }