float_polyfills/lib.rs
1#![no_std]
2//! Drop-in `no_std`-compatible polyfills for various `f32` and `f64` methods.
3//! Supports:
4//! - abs
5//! - acos
6//! - asin
7//! - atan
8//! - atan2
9//! - ceil
10//! - copysign
11//! - cos
12//! - exp
13//! - floor
14//! - hypot
15//! - ln
16//! - log2
17//! - log10
18//! - mul_add
19//! - powf
20//! - powi
21//! - recip
22//! - round
23//! - sin
24//! - sin_cos
25//! - sqrt
26//! - tan
27//! - trunc
28
29mod float_32;
30mod float_64;
31
32pub use float_32::F32Polyfill;
33pub use float_64::F64Polyfill;
34