Cargo Features
[dependencies]
pymath = { version = "0.1.5", default-features = false, features = ["complex", "num-bigint", "malachite-bigint", "mul_add"] }
- default = complex
-
The
complexfeature is set by default wheneverpymathis added withoutsomewhere in the dependency tree.default-features = false - complex default
-
Enables num-complex
Affects
pymath::cmath,m::sincos,m::sincos,m_rust::sincos… - num-bigint = _bigint
-
Enables num-bigint
- malachite-bigint = _bigint
-
Enables malachite-bigint
malachite upgrades minor version a lot
- _bigint malachite-bigint? num-bigint?
-
Internal feature. User must use num-bigint or malachite-bigint instead.
Enables num-integer and num-traits
Affects
math::integer… - mul_add
-
Do not enable this feature unless you really need it. CPython didn't intend to use FMA for its math library. This project uses this feature in CI to verify the code doesn't have additional bugs on aarch64-apple-darwin. However, this does not mean that using this feature is better or more correct on that platform. Note that the quality of the results has been well-tested without FMA but has not been tested with FMA. See also: https://github.com/python/cpython/issues/132763