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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//! The formats and every layer built on them.
//!
//! **Formats**: [`Fixed`] and the aliases [`Q16_16`] .. [`Q256_256`], with the
//! traits [`FixedNum`], [`Storage`], [`WideInt`] and [`Scalar`]. **Layers**:
//! [`canonical`] (routing, `gmath` / `evaluate`), [`imperative`] (vectors,
//! matrices, linear algebra, geometry, fused kernels, intervals),
//! [`compute_tier`] and [`wide`]. Modules marked hidden are internal.
/// Canonical FASC entry point: the public API for gMath.
/// Imperative numeric types: `Fixed`, `FixedVector`, `FixedMatrix`.
pub use ;
// Width as a type: a format is a storage word and a number of fractional bits.
pub use ;
pub use ;
/// The wide signed integers: storage words of `Q128_128` (`I256`) and
/// `Q256_256` (`I512`), compute and accumulator words above them.
pub use ;
/// Public compute-tier (tier N+1) transcendentals over a format's compute word.
/// Q64.64 transcendentals, π constants and an exact decimal-literal parser
/// for quantities outside the storage and compute tiers. Every format.
/// Width traits: the integer words and, per storage word, its compute word
/// and exact accumulators.
pub
/// `Fixed<S, F>` and the per-width kernels.
pub
// Correct rounding by two stages: the compute tier with bounds, then Mpf.
pub
// Internal modules — pub for integration test access, hidden from docs
// ============================================================================
// Internal re-exports — convenience paths for crate-internal use.
// NOT part of the public API. Use `g_math::canonical::*` instead.
// ============================================================================
pub use binary_fixed;
pub use symbolic;
// Binary domain types (used across internal codebase)
pub use ;
pub use ;
// Decimal domain: `g_math::fixed_point::DecimalFixed` is a supported public type
// (the `domains` module itself stays doc-hidden — this is the documented path).
pub use DecimalFixed;
/// `DecimalFixed<2>` and `DecimalFixed<6>`: the money aliases.
pub use ;
/// Tie rule for `DecimalFixed` rounding (`try_div_with`, `try_mul_div_with`, ...).
pub use DecimalRounding;
/// Certified decimal enclosures: `g_math::fixed_point::DecimalInterval` is a supported public type.
pub use DecimalInterval;
/// The compute word `DecimalFixed<D>` runs its transcendentals on, and the
/// marker a generic bound names it through (`where Dp<D>: DecimalTier`).
pub use ;
// Rational arithmetic types (used in stack_evaluator)
pub use ;
// Prime table (build-time generated, 1,145 primes up to 9,973)
pub use prime_table;