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
//! Cube-root algorithm family.
//!
//! Mirrors [`crate::algos::sqrt`]: free kernel functions taking raw
//! storage + scale + rounding mode and returning raw storage. Sign of
//! the input is preserved (`cbrt(-x) = -cbrt(x)`); the rounding mode
//! resolves direction relative to the signed result.
//!
//! Variants:
//!
//! - [`generic_wide`] — Newton iteration on `mag · 10^(2·SCALE)` over a
//!   wide work integer. Width default for D57 / D76 / D115 / D153 /
//!   D230 / D307 / D462 / D616 / D924 / D1232.
//! - [`mg_divide_d38`] — hand-tuned 384-bit cube-root path tailored to
//!   D38's `i128` storage. **Width specialisation for D38**, captures
//!   the kernel that has shipped with D38 since before the algorithm
//!   library existed.
//! - [`widen_to_d38`] — widen → `mg_divide_d38::cbrt` → narrow.
//!   **Width specialisation for D9 and D18**.

pub(crate) mod generic_wide;
pub(crate) mod mg_divide_d38;
pub(crate) mod widen_to_d38;