[Top][All Lists]

[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: marco atzeri
Subject: [Octave-bug-tracker] [bug #35024] magnitude abs(a) != sqrt(a_r^2 + a_i^2)
Date: Mon, 19 Dec 2011 14:55:42 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0

Follow-up Comment #9, bug #35024 (project octave):

on cygwin where octave is built with

octave:1> abs(2+3i) - sqrt(13)
ans = 0

I presume for the same reason I wrote on "etc/README.Cygwin":

"--enable-float-truncate" is needed for the following bug:
Without it, one of the quadgk test will fail as
"a=a" could be false due to truncation problems with
complex numbers.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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