arpfloat
arpfloat copied to clipboard
An arbitrary-precision floating-point library in Rust
Make the `e` and `pi` functions actually const
The following functions might be nice additions: acos, asin, atan, ln, gamma, floor, ceil
A way to convert a string to a float would be nice
In a short/medium/long term? They are supported in [rug](https://docs.rs/rug/latest/rug/struct.Float.html) or [astro-float](https://github.com/stencillogic/astro-float/blob/main/src/ops/sin.rs). See also, e.g., [this paper](https://www.researchgate.net/publication./361483599_Fast_Trigonometric_functions_for_Arbitrary_Precision_number).
I wonder (before diving into the implementation) if this lib employs efficiency optimizations as e.g. [mpdecimal](https://www.bytereef.org/mpdecimal/ ) does? E.g. if I will specify the float to be 8192 bits wide,...
It would be nice to be able to serialize/deserialize the types. It could be implemented as a feature flag, as many other crates do.