|
From: | Oliver Heimlich |
Subject: | Re: Directed rounding |
Date: | Thu, 17 Sep 2015 18:47:47 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
On 17.09.2015 18:31, Eric Walter wrote:
Dear Oliver, Yes, this might be the way. In MATLAB I got around my rounding problem by using Sigfried Rump's interval toolbox INTLAB. Many thanks for your suggestion, and thanks to the Octave community for their amazing reactivity. Best regards, Eric
Eric,you are welcome. Since you know INTLAB, please check whether the free Octave interval package is a valid replacement for your project. If you are missing some functionality in the interval package, please let me know.
You can find many functions with directed rounding here (no need to change the rounding mode yourself):
http://octave.sourceforge.net/interval/function/mpfr_function_d.htmlP.S. The Octave interval package is conforming to the IEEE standard for interval arithmetic. It might behave differently compared to INTLAB, especially on empty intervals.
Best regards Oliver
[Prev in Thread] | Current Thread | [Next in Thread] |