inari 1.0.0

A Rust implementation of interval arithmetic
Documentation
//! A Rust implementation of [interval arithmetic](https://en.wikipedia.org/wiki/Interval_arithmetic).
//!
//! [Introduction to interval arithmetic][`_docs::intro`]
//!
//! [Formal introduction to interval arithmetic][`_docs::formal_intro`]
//!
//! inari implements a subset of the following standards for interval arithmetic:
//!
//! - [IEEE Std 1788-2015](https://doi.org/10.1109/IEEESTD.2015.7140721)
//! - [IEEE Std 1788.1-2017](https://doi.org/10.1109/IEEESTD.2018.8277144) - A simplified version and a subset of IEEE Std 1788-2015
//!
//!   The crate covers all required operations of the standard.
//!
//! See [Conformance to the standard][`_docs::conformance`] for details.

#![allow(clippy::float_cmp)]

pub use self::{
    interval::{DecInterval, Decoration, Interval, IntervalError, IntervalErrorKind, Result},
    overlap::Overlap,
};

pub mod _docs;

// List the constructors first in the documentation.
mod interval;

mod absmax;
mod arith;
mod basic;
mod boolean;
mod bytes;
mod classify;
mod constants;
#[cfg(feature = "gmp")]
mod elementary;
#[cfg(feature = "gmp")]
mod format;
mod integer;
mod numeric;
mod overlap;
#[cfg(feature = "gmp")]
mod parse;
mod set_op;

cfg_if::cfg_if! {
    if #[cfg(any(target_arch = "aarch64", target_arch = "x86_64", docsrs))] {
        mod simd;
    } else {
        compile_error!("Only x86-64 and AArch64 (experimental) architectures are supported by this crate.");
    }
}