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

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

[Octave-bug-tracker] [bug #51952] Incorrect result for computation of


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #51952] Incorrect result for computation of
Date: Wed, 6 Sep 2017 11:47:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #51952 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

You cannot expect it in floating point arithmetic. Even the simpler


(1/49)*49-1


does not give exactly 0. Please, look for "What Every Computer Scientist
Should Know About Floating-Point Arithmetic"

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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