ieee754

Crates.ioieee754
lib.rsieee754
version0.3.0-alpha.2
sourcesrc
created_at2015-05-11 11:42:04.340766
updated_at2020-12-20 00:38:43.810143
descriptionLow-level manipulations of IEEE754 floating-point numbers.
homepagehttps://github.com/huonw/ieee754
repositoryhttps://github.com/huonw/ieee754
max_upload_size
id2078
size120,379
Owners (github:contain-rs:owners)

documentation

http://docs.rs/ieee754

README

ieee754

Build Status codecov

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, crates.io.

Commit count: 60

cargo fmt