Expand description
A Rust implementation of interval arithmetic.
Introduction to interval arithmetic
Formal introduction to interval arithmetic
inari implements a subset of the following standards for interval arithmetic:
-
IEEE Std 1788.1-2017 - 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 for details.
Modulesยง
- _docs
- This module serves additional documentations and no code.
Macrosยง
- const_
dec_ interval - Creates a
DecInterval
fromf64
bounds. - const_
interval - Creates an
Interval
fromf64
bounds. - dec_
interval - Creates a
DecInterval
fromf64
bounds or from a decorated interval literal. - interval
- Creates an
Interval
fromf64
bounds or from a bare interval literal. - interval_
exact - Creates an
Interval
from a bare interval literal, only if the conversion is exact.
Structsยง
- DecInterval
- The decorated version of
Interval
. - Interval
- An interval with
f64
bounds. - Interval
Error
Enumsยง
- Decoration
- The decoration of a
DecInterval
. - Interval
Error Kind - Overlap
- The overlapping state between intervals, returned by
Interval::overlap
.
Type Aliasesยง
- Result
- An alias for
Result<T, E>
withE = IntervalError
.