decimal-scaled 0.4.1

Const-generic base-10 fixed-point decimals (D9/D18/D38/D76/D153/D307) with integer-only transcendentals correctly rounded to within 0.5 ULP — exact at the type's last representable place. Deterministic across every platform; no_std-friendly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Cross-cutting plumbing: rounding modes, error types, diagnostics,
//! text I/O, serde glue, bench-alt aliases.
//!
//! Everything here is consumed by the typed surface in [`crate::types`]
//! and the kernels in [`crate::algos`] without imposing a layering
//! dependency in the other direction.

pub(crate) mod rounding;
pub(crate) mod error;
pub(crate) mod diagnostics;
pub(crate) mod display;
#[cfg(feature = "serde")]
pub mod serde_helpers;
#[cfg(feature = "bench-alt")]
pub(crate) mod bench_alt;