Skip to main content

oxinum_complex/native/
mod.rs

1//! Native binary-base arbitrary-precision complex numbers built from the
2//! ground up on [`oxinum_float::native::BigFloat`].
3//!
4//! Provides `BigComplex`, the ordered pair `(re, im)` of binary
5//! `BigFloat`s representing `re + im·i`. Unlike the decimal-backed
6//! crate-root [`crate::CBig`], this type works in base 2 with explicit
7//! rounding-mode control, exactly mirroring the `oxinum_float::native`
8//! foundation it sits on. Everything is Pure Rust — no GMP, no MPFR.
9//!
10//! The native `RoundingMode` is re-exported here for convenience so
11//! callers constructing `BigComplex` values do not need to reach into
12//! `oxinum_float::native` directly.
13
14pub use oxinum_float::native::RoundingMode;
15
16mod complex;
17mod complex_ops;
18mod convert;
19mod core_traits;
20mod inverse_trig;
21mod transcendental;
22mod trig;
23
24#[cfg(feature = "num-traits")]
25mod num_traits_impl;
26#[cfg(feature = "serde")]
27mod serde_impl;
28
29pub use complex::BigComplex;