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
5pub mod atan;
6pub mod atan2;
7pub mod cos;
8pub mod div;
9pub mod floor;
10pub mod k_cos;
11pub mod k_sin;
12pub mod k_tan;
13pub mod log;
14pub mod powi;
15pub mod rem_pio2;
16pub mod rem_pio2_large;
17pub mod scalbn;
18pub mod sin;
19pub mod sqrt;
20pub mod tan;
21
22pub use atan::atan;
23pub use atan2::atan2;
24pub use cos::cos;
25pub use div::rem_euclid_f;
26pub use floor::floor_f;
27pub use log::log;
28pub use powi::powi;
29pub use sin::sin;
30pub use sqrt::sqrt;
31pub use tan::tan;
32
33use k_cos::*;
34use k_sin::*;
35use k_tan::*;
36use rem_pio2::*;
37use rem_pio2_large::*;
38use scalbn::*;