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
//! Arbitrary-precision integer arithmetic for the OxiNum ecosystem.
//!
//! Provides `BigInt` and `BigUint` type aliases over `dashu-int`'s `IBig`/`UBig`,
//! plus number-theory functions: factorial, fibonacci, binomial coefficients,
//! modular exponentiation, primality testing, and extended GCD.
pub use ;
pub use OxiNumError;
pub use OxiNumResult;
// Re-export GCD operation trait so callers can use `.gcd()`.
pub use Gcd;
// Re-export core traits and types that downstream crates will need.
pub use Sign;
/// Type alias: `BigUint` is `dashu_int::UBig`.
pub type BigUint = UBig;
/// Type alias: `BigInt` is `dashu_int::IBig`.
pub type BigInt = IBig;
// Sub-modules
/// Native arbitrary-precision integer types implemented in pure Rust.
///
/// This module provides an additive, ground-up native implementation that
/// coexists with the `dashu`-backed `BigUint`/`BigInt` aliases re-exported
/// at the crate root. See [`native::BigUint`] for the unsigned core.
// Number theory functions
pub use ;
// Radix conversion and utility functions
pub use ;