| 1 | //! This crate contains general trait definitions and some commonly used structs and enums. |
| 2 | |
| 3 | #![cfg_attr(not(feature = "std"), no_std)] |
| 4 | |
| 5 | pub mod approx; |
| 6 | pub mod bit; |
| 7 | pub mod error; |
| 8 | pub mod math; |
| 9 | pub mod ring; |
| 10 | pub mod sign; |
| 11 | |
| 12 | /// Some useful utility functions that are also used internally in this crate. |
| 13 | pub mod utils { |
| 14 | pub use super::math::log::{next_down, next_up}; |
| 15 | } |
| 16 | |
| 17 | pub use approx::*; |
| 18 | pub use bit::*; |
| 19 | pub use error::*; |
| 20 | pub use math::*; |
| 21 | pub use ring::*; |
| 22 | pub use sign::*; |