https://github.com/huonw/ieee754
Low-level manipulations of IEEE754 floating-point numbers.
https://github.com/huonw/ieee754
floating-point ieee754 numerical-analysis
Last synced: about 1 year ago
JSON representation
Low-level manipulations of IEEE754 floating-point numbers.
- Host: GitHub
- URL: https://github.com/huonw/ieee754
- Owner: huonw
- License: apache-2.0
- Created: 2015-05-11T11:15:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T11:54:32.000Z (about 3 years ago)
- Last Synced: 2025-03-26T09:51:12.369Z (about 1 year ago)
- Topics: floating-point, ieee754, numerical-analysis
- Language: Rust
- Homepage: https://docs.rs/ieee754
- Size: 639 KB
- Stars: 28
- Watchers: 4
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `ieee754`
[](https://travis-ci.org/huonw/ieee754) [](https://codecov.io/gh/huonw/ieee754)
Low-level manipulations of IEEE754 floating-point numbers.
This library includes:
- `no_std` support by default,
- ulp computation (units in the last place, representing the resolution of a
float),
- miscellaneous functions like `nextafter` (`next` and `prev`),
`copysign` (`copy_sign`), `abs`, `sign`,
- the IEEE-754 `totalOrder` predicate for doing `Ord::cmp`-like
comparisons on floats,
- an iterator over every floating point value in a range,
- a parallel iterator over every floating point value in a range
(optional: activate with the `rayon` feature),
- relative error computation.
[Documentation](http://docs.rs/ieee754),
[crates.io](https://crates.io/crates/ieee754).