Expand description
hugefloat provides a numeric type that acts like f64 with a much
higher maximum value.
This library is NOT intended for usecases that actually require precise
arithmetic. Use gmp or rug if you need that. hugefloat is
designed to be lightweight and have no foreign dependencies so it can easily
be compiled to WASM. It’s intended for use in incremental and idle games
which must handle extremely large numbers.
§Features
Enable the serde feature of this crate to support de/serialization via
serde.
Structs§
- Float
- A number that behaves mostly like a float, but with an extremely large maximum value.
Enums§
- Parse
Error - Parsing a
Floatcan fail either while parsing the base (which is a float) or the exponent (which is an int).