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

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

[Octave-bug-tracker] [bug #45507] acos returns different results on big


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #45507] acos returns different results on big input values
Date: Sat, 30 Jan 2016 09:54:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #10, bug #45507 (project octave):

Marco, you're right that the limit is imprecise.  It isn't intended to be the
precise value for which the "1+" becomes irrelevant.  It was just intended to
be something in the wide range such that it is harmless to skip the sqrts for
a double and it will avoid overflow for a float.

I'll use 2^27 in the next version of the patch -- but I'll wait to see if the
eventual commiter has any comments before rolling the next version.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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