Skip to content

A simple and portable floating-point interval arithmetic library in OCaml

License

Notifications You must be signed in to change notification settings

monadius/ocaml_simple_interval

Repository files navigation

Build Status

ocaml_simple_interval

A simple and (hopefully) portable floating-point interval arithmetic library in OCaml.

Original repository: https://github.com/monadius/ocaml_simple_interval

References

Interval1

Interval1 is a simple OCaml interval arithmetic library which does not depend on any external files and libraries. It uses the standard rounding to nearest floating-point operations to compute rigorous interval enclosures of mathematical operations. These interval enclosures may be not optimal floating-point intervals but in most cases the error is no more than 1 ulp for each interval endpoint.

Interval2

Interval2 is another simple OCaml interval arithmetic library. It computes optimal floating-point intervals for basic arithmetic operations. In some cases, it performs computations with rational arithmetic. This library is slower than Interval1 but it may be used in cases when optimal intervals are required (for instance, when point intervals play an important role or when discontinuous functions are considered).

Docs

See the docs directory.

Tests

See the tests directory.

About

A simple and portable floating-point interval arithmetic library in OCaml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published