|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X |
Date: | Wed, 20 Dec 2017 12:12:08 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #18, bug #52627 (project octave): Thank you Ben! And just as expected, everything is mostly good except for std::arg of -1 + 0i. Mac: 3.1415925025939941 Linux: 3.1415927410125732 Clearly they are both approximately PI to 7 digits, but the math lib constant for PI does not match the atan2 result for PI which leads to problems. I think I can code around that by using a static variable on Macs to hold the value of whatever they think PI is. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52627> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |