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
//! Public trait surface for the decimal types.
//!
//! Five traits expose the cross-width API:
//!
//! - [`Decimal`] — marker supertrait combining the three families below
//!   (arithmetic, convert, transcendental).
//! - [`DecimalArithmetic`] — operator surface (add/sub/mul/div, sign,
//!   rounding, overflow variants).
//! - [`DecimalConvert`] — width / scale conversions and primitive
//!   bridges.
//! - [`DecimalTranscendental`] — `sqrt`, `cbrt`, `exp`, `ln`, trig,
//!   hyperbolic, `pow`.
//! - [`DynDecimal`] — object-safe view (feature `dyn`).
//!
//! Each lives in its own module; this `mod.rs` re-exports the names so
//! `lib.rs` can surface them as `crate::Decimal` etc.

pub(crate) mod decimal;
pub(crate) mod arithmetic;
pub(crate) mod convert;
pub(crate) mod transcendental;
#[cfg(feature = "dyn")]
pub mod dyn_decimal;

pub use decimal::Decimal;
pub use arithmetic::DecimalArithmetic;
pub use convert::DecimalConvert;
pub use transcendental::DecimalTranscendental;