oxedyne/fe2o3/fe2o3_num/src/lib.rs
728 bytes, 1 run
created by r1870400018:635, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | //! Numerical types and operations for the Hematite ecosystem. |
| 2 | //! |
| 3 | //! This crate provides numerical primitives and utilities including: |
| 4 | //! - Wrapper types for floating point numbers that implement total ordering and hashing |
| 5 | //! - Support for arbitrary-precision integers and decimals |
| 6 | //! - A comprehensive string parser for various numerical formats |
| 7 | //! - Traits and utilities for common numerical operations |
| 8 | //! |
| 9 | //! The crate avoids unsafe code and unwrap operations, favouring explicit error handling |
| 10 | //! through the Hematite `Outcome` type. |
| 11 | //! |
| 12 | #![forbid(unsafe_code)] |
| 13 | #[macro_use] |
| 14 | pub mod macros; |
| 15 | |
| 16 | pub mod float; |
| 17 | pub mod int; |
| 18 | pub mod prelude; |
| 19 | pub mod string; |
| 20 | |
| 21 | pub use num_bigint::BigInt; |
| 22 | pub use bigdecimal::BigDecimal; |