dashu-float

Crates.iodashu-float
lib.rsdashu-float
version0.4.3
sourcesrc
created_at2022-09-13 23:45:00.768555
updated_at2024-02-03 14:38:53.878636
descriptionA big float library supporting arbitrary precision, arbitrary base and arbitrary rounding mode
homepagehttps://github.com/cmpute/dashu
repositoryhttps://github.com/cmpute/dashu
max_upload_size
id664985
size450,245
Jacob Zhong (cmpute)

documentation

https://docs.rs/dashu-float

README

dashu-float

Arbitrary precision floating point number implementation as a part of the dashu library. See Docs.rs for the full documentation.

Features

  • Supports no_std and written in pure Rust.
  • Support arbitrary base and arbitrary rounding mode.
  • Support efficient base conversion.
  • Small float numbers are inlined on stack.
  • Efficient float number parsing and printing with base 2~36.
  • Supports the hexadecimal float format used by C++.
  • Developer friendly debug printing for float numbers.

Optional dependencies

  • std (default): enable std support for dependencies.

Performance

Relevant benchmark will be implemented in the built-in benchmark.

License

See the top-level readme.

Commit count: 285

cargo fmt