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

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

[Octave-bug-tracker] [bug #35024] magnitude abs(a) != sqrt(a_r^2 + a_i^2


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #35024] magnitude abs(a) != sqrt(a_r^2 + a_i^2)
Date: Fri, 09 Dec 2011 16:30:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Waterpanther/3.6.13

Update of bug #35024 (project octave):

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

    _______________________________________________________

Follow-up Comment #7:

Actually, reading the implementation of the GNU C++ abs(), it seems to
eventually get into a call to hypot, which does quite a bit of black magic to
my eyes with magic numbers and CPU registers in order to perform the
computation.

I suppose a different black magic path could be taken in Windows that accounts
for the difference in the result.

Closing this repprt.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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