float-bits 0.1.1

Floats stored as raw bits, making them hashable and totally ordered.
Documentation
  • Coverage
  • 100%
    190 out of 190 items documented1 out of 95 items with examples
  • Size
  • Source code size: 30.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 794.88 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • chronos-tachyon

float-bits

Floats stored as raw bits, making them hashable and totally ordered.

The types in this crate represent IEEE 754 binary floating point numbers, using unsigned integers to store the raw bits of the floats. Some of these types represent float formats not supported by Rust, or only if specific Rust features are available and enabled. A limited suite of operations are available that operate directly on the raw bit representation, bypassing the need for Rust support.