octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35680] mod does not warn when losing precisio


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #35680] mod does not warn when losing precision
Date: Tue, 22 Dec 2015 16:37:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1

Update of bug #35680 (project octave):

                  Status:               Duplicate => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

Closing as won't fix, Octave is working as expected with numerical values with
limited precision.

The symbolic package is now fully functional, so if you want arbitrary
precision the vpa class takes care of this type of problem:


>> y = 98 - mod (60392010507000000, 97) 
y =  50
>> y = 98 - mod (vpa (60392010507000000), 97) 
y = (sym) 47.000000000000000000000000000000


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35680>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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