|
| From: | anônimo |
| Subject: | [Octave-bug-tracker] [bug #62332] [MinGW] 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 19:35:21 -0400 (EDT) |
Follow-up Comment #2, bug #62332 (project octave):
Yes Rik, this summarizes the problem perfectly.
[comment #1 comentário #1:]
> 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>
_______________________________________________
Mensagem enviada pelo Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |