octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directed rounding


From: Eric Walter
Subject: Re: Directed rounding
Date: Thu, 17 Sep 2015 18:31:42 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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

Le 17/09/2015 18:25, Oliver Heimlich a écrit :
On 17.09.2015 18:21, Eric Walter wrote:
As I told you in my previous email, my goal was just to point out what
would, in my opinion, be a desirable Octave feature. I do not plan to
implement it myself.

Many thanks for the time you took to answer me and for your suggestions.
Many somebody else will feel like doing the job.

Best,

Eric


Eric,

you may install the interval package with

octave:1> pkg install -forge interval
octave:2> pkg load interval

Then you can access a function called “__setround__”. See “help __setround__” for instructions.

You might also be interested in the function @infsup/nextout to produce the next higher and next lower floating point numbers.

http://octave.sourceforge.net/interval/function/@infsup/nextout.html

Best regards
Oliver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]