Skip to main content

core_math_sys/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(not(test), no_std)]
3#![cfg_attr(feature = "f16", feature(f16))]
4#![cfg_attr(feature = "f128", feature(f128))]
5
6/// Sign of the gamma function, set by [`cr_lgamma`] and [`cr_lgammaf`]
7#[unsafe(no_mangle)]
8pub static mut signgam: core::ffi::c_int = 0;
9
10mod binary32;
11pub use binary32::*;
12
13mod binary64;
14pub use binary64::*;
15
16#[cfg(feature = "f16")]
17mod binary16;
18#[cfg(feature = "f16")]
19pub use binary16::*;
20
21#[cfg(feature = "f128")]
22mod binary128;
23#[cfg(feature = "f128")]
24pub use binary128::*;