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
38
39
40
41
42
// SPDX-FileCopyrightText: 2026 John Moxley
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Type definitions, per-width aliases, and per-family method shells.
//!
//! This bucket holds the generic `D<S, SCALE>` newtype, the per-width
//! aliases (`D18`, `D38`, …), the `DecimalConstants` constants
//! surface, the public-trait surface in [`traits`], and the per-family
//! inherent-impl shells (`log_exp`, `trig`, `powers`, …).
//!
//! Lower-layer kernels live in [`crate::algos`] and routing lives in
//! [`crate::policy`]; this bucket is the typed surface that calls into
//! them.
pub
pub
pub
pub
pub
pub
// Strict (integer-only) transcendental shells. Strict is the crate's
// default; the lossy f64-bridge variants below carry the explicit
// `_fast` suffix to mark them as the opt-in.
pub
pub
pub
// `checked_*` siblings of the strict transcendental family — one
// generic impl over `(N, SCALE)`. Gated like [`trig`]: the checked
// shells delegate to the same strict surface (including the trig
// family), which a `fast`-without-`std` build does not carry.
pub
// Fast (f64-bridge) transcendental shells.
pub
pub
pub