Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 8 days ago
JSON representation

Low-level manipulations of IEEE754 floating-point numbers.

Awesome Lists containing this project

README

        

# `ieee754`

[![Build Status](https://travis-ci.org/huonw/ieee754.svg?branch=master)](https://travis-ci.org/huonw/ieee754) [![codecov](https://codecov.io/gh/huonw/ieee754/branch/master/graph/badge.svg)](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).