Skip to content

Commit 0d8dbaf

Browse files
committed
_bigint helpers
1 parent f95c66d commit 0d8dbaf

File tree

4 files changed

+517
-37
lines changed

4 files changed

+517
-37
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,7 @@ assert_eq!(
156156
- `pymath::math` - Real number math functions (Python's `math` module)
157157
- `pymath::cmath` - Complex number functions (Python's `cmath` module)
158158
- `pymath::m` - Direct libm bindings
159+
160+
## Important Note
161+
162+
This library guarantees **compatibility with Python's math module**, not mathematical correctness.

src/math.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
33
// Submodules
44
mod aggregate;
5+
#[cfg(feature = "_bigint")]
6+
mod bigint;
57
mod exponential;
68
mod gamma;
79
#[cfg(feature = "_bigint")]
@@ -11,6 +13,8 @@ mod trigonometric;
1113

1214
// Re-export from submodules
1315
pub use aggregate::{dist, fsum, prod, prod_int, sumprod, sumprod_int};
16+
#[cfg(feature = "_bigint")]
17+
pub use bigint::{comb_bigint, ldexp_bigint, log_bigint, log2_bigint, log10_bigint, perm_bigint};
1418
pub use exponential::{cbrt, exp, exp2, expm1, log, log1p, log2, log10, pow, sqrt};
1519
pub use gamma::{erf, erfc, gamma, lgamma};
1620
pub use misc::{

0 commit comments

Comments
 (0)