1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-FileCopyrightText: 2026 John Moxley
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Public trait surface for the decimal types.
//!
//! Six traits expose the cross-width API:
//!
//! - [`Decimal`] — marker supertrait combining the four families below
//! (arithmetic, convert, transcendental, constants).
//! - [`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`.
//! - [`DecimalConstants`] — `pi`, `tau`, `e`, `golden` and their
//! `_with(mode)` siblings.
//! - [`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
pub
pub
pub
pub
pub
pub use DecimalArithmetic;
pub use DecimalConstants;
pub use DecimalConvert;
pub use Decimal;
pub use DecimalTranscendental;
pub use WidthLE;