|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #62332] acos(z), asin(z) and atan(z) , ( z = x + yi ) return wrong result for imaginary part lower than 1e-12 |
| Date: | Mon, 18 Apr 2022 18:43:30 -0400 (EDT) |
Follow-up Comment #1, bug #62332 (project octave):
Is the summary that the C++ math library on MinGW is inaccurate?
It seems that a test for the behavior can be boiled down to
imag (acos (complex (cosd (45), 1e-18)))
This should return -1.4e-18, but returns 0 on MinGW. Is that correct?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62332>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |