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 transcendental;
21mod trig;
22
23#[cfg(feature = "num-traits")]
24mod num_traits_impl;
25#[cfg(feature = "serde")]
26mod serde_impl;
27
28pub use complex::BigComplex;