Crate inari[][src]

Expand description

A Rust implementation of interval arithmetic.

Introduction to interval arithmetic

inari implements a subset of the following standards for interval arithmetic:

See Conformance to the standard for details.

Modules

_docs

This module serves additional documentations and no code.

Macros

const_dec_interval

Creates a DecInterval from f64 bounds.

const_interval

Creates an Interval from f64 bounds.

dec_interval

Creates a DecInterval from f64 bounds or from a decorated interval literal.

interval

Creates an Interval from f64 bounds or from a bare interval literal.

Structs

DecInterval

A decorated interval with f64 bounds.

Interval

An interval with f64 bounds.

IntervalError

Enums

Decoration

The decoration of a DecInterval.

IntervalErrorKind
Overlap

An overlapping state between intervals, returned by Interval::overlap.

Type Definitions

Result

An alias for Result<T, E> with E = IntervalError.