| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | GHC2021 |
HGeometry.Number.Real.Interval
Description
Interval Arithmetic. We use doubles as initial approximation of the interval.
Synopsis
- data IntervalReal r
- exactValue :: IntervalReal r -> r
- fromExact :: Real r => r -> IntervalReal r
Documentation
data IntervalReal r Source #
Instances
exactValue :: IntervalReal r -> r Source #
Get the exact vavlue of the interval-real.
fromExact :: Real r => r -> IntervalReal r Source #
Construct an intervalReal from a given r value.