octave-maintainers
[Top][All Lists]
Advanced

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

Re: Directed rounding


From: Oliver Heimlich
Subject: Re: Directed rounding
Date: Thu, 17 Sep 2015 18:25:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0

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]