240
edits
(Added library dependency for GNU MPFR) |
(→What to expect: Removed fenv package) |
||
Line 53: | Line 53: | ||
''Why is the interval package accurate?'' | ''Why is the interval package accurate?'' | ||
Some basic operations are provided by the C library with directed rounding and correctly rounded result: plus, minus, division, multiplication and square root. | Some basic operations are provided by the C library on common platforms with directed rounding and correctly rounded result: plus, minus, division, multiplication and square root. All other GNU Octave arithmetic functions are not guaranteed to produce accurate results, because they are based on C99 floating-point routines [http://www.gnu.org/software/libc/manual/html_node/Errors-in-Math-Functions.html#Errors-in-Math-Functions]. Their results depend on hardware, system libraries and compilation options. | ||
The interval package handles all functions with the help of the [http://www.mpfr.org/ GNU MPFR library]. With MPFR it is possible to compute system-independent, valid and tight enclosures of the correct results. | |||
== Quick start introduction == | == Quick start introduction == |
edits