Expand description
Fixed-size signed and unsigned integers and arbitrary precision decimal numbers implemented in pure Rust. Suitable for financial, crypto and any other fixed-precision calculations.
Re-exports§
pub extern crate const_str;
Modules§
- Decimal
- Big Integers
Macros§
- A macro to construct 128-bit crate::D128 decimal from literals in compile time.
- A macro to construct 256-bit crate::D256 decimal from literals in compile time.
- A macro to construct 512-bit crate::D512 decimal from literals in compile time.
- A macro to construct 128-bit crate::I128 integer from literals.
- A macro to construct 256-bit crate::I256 integer from literals.
- A macro to construct 512-bit crate::I512 integer from literals.
- A macro to construct 1024-bit crate::I1024 integer from literals.
- A macro to construct 2048-bit crate::I2048 integer from literals.
- A macro to construct 4096-bit crate::I4096 integer from literals.
- A macro to construct 8192-bit crate::I8192 integer from literals.
- A macro to construct 128-bit crate::U128 integer from literals.
- A macro to construct 256-bit crate::U256 integer from literals.
- A macro to construct 512-bit crate::U512 integer from literals.
- A macro to construct 1024-bit crate::U1024 integer from literals.
- A macro to construct 2048-bit crate::U2048 integer from literals.
- A macro to construct 4096-bit crate::U4096 integer from literals.
- A macro to construct 8192-bit crate::U8192 integer from literals.
- A macro to construct 128-bit crate::UD128 decimal from literals in compile time.
- A macro to construct 256-bit crate::UD256 decimal from literals in compile time.
- A macro to construct 512-bit crate::UD512 decimal from literals in compile time.
Type Aliases§
- 128-bit signed decimal type.
- 256-bit signed decimal type.
- 512-bit signed decimal type.
- 1024-bit signed decimal type.
- 2048-bit signed decimal type.
- 4096-bit unsigned decimal type.
- 8192-bit signed decimal type.
- 128-bit signed integer type.
- 256-bit signed integer type.
- 512-bit signed integer type.
- 1024-bit signed integer type.
- 2048-bit signed integer type.
- 4096-bit signed integer type.
- 8192-bit signed integer type.
- 128-bit unsigned integer type.
- 256-bit unsigned integer type.
- 512-bit unsigned integer type.
- 1024-bit unsigned integer type.
- 2048-bit unsigned integer type.
- 4096-bit unsigned integer type.
- 8192-bit unsigned integer type.
- 128-bit unsigned decimal type.
- 256-bit unsigned decimal type.
- 512-bit unsigned decimal type.
- 1024-bit unsigned decimal type.
- 2048-bit unsigned decimal type.
- 4096-bit unsigned decimal type.
- 8192-bit unsigned decimal type.