Skip to main content

deep_time/math/
mod.rs

1//! Tested, `const fn` versions of libm float math functions. e.g. `use deep_time::math::sin;`
2//!
3//! Re-exports of `sin`, `cos`, `tan`, `atan`, `atan2`, `floor_f`, `rem_euclid_f`, `sqrt`, `log`.
4
5mod atan;
6mod atan2;
7mod cos;
8mod div;
9mod floor;
10mod k_cos;
11mod k_sin;
12mod k_tan;
13mod log;
14mod powi;
15mod rem_pio2;
16mod rem_pio2_large;
17mod round;
18mod scalbn;
19mod sin;
20mod sqrt;
21mod tan;
22mod trunc;
23
24pub use atan::atan;
25pub use atan2::atan2;
26pub use cos::cos;
27pub use div::rem_euclid_f;
28pub use floor::floor_f;
29pub use log::log;
30pub use powi::powi;
31pub use round::round;
32pub use sin::sin;
33pub use sqrt::{hypot, sqrt};
34pub use tan::tan;
35pub use trunc::trunc;
36
37use k_cos::*;
38use k_sin::*;
39use k_tan::*;
40use rem_pio2::*;
41use rem_pio2_large::*;
42use scalbn::*;