Skip to main content

dashu_base/
lib.rs

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