🦊 inari

crates.io docs build coverage

inari is a Rust implementation of interval arithmetic.

It covers all required operations of IEEE Std 1788.1-2017. It also implements some parts of IEEE Std 1788-2015.

Supported Rust Versions

A nightly toolchain >= nightly-2021-12-16 is required.

The requirement of a nightly toolchain is due to a few unstable features used in the crate: asm, stdsimd, etc. To use the crate as a dependency, you need to override the toolchain in your project. Here is an example that does this with the rust-toolchain file.

Supported Platforms

The following CPUs are supported:

When using the Cargo feature gmp (see below), target platforms are limited to the ones that are supported by the gmp-mpfr-sys crate. For example, MSVC is not supported.

Cargo Features

Changelog

Building the Documentation Locally

bash RUSTDOCFLAGS="--cfg docsrs --html-in-header /path/to/src/_docs/header.html" cargo doc --open

The absolute path is required for header.html.

Related Projects

References