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

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

[Octave-bug-tracker] [bug #49091] MinGW std::acosh less accurate than Li


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #49091] MinGW std::acosh less accurate than Linux versions
Date: Wed, 3 Aug 2022 11:37:45 -0400 (EDT)

Follow-up Comment #17, bug #49091 (project octave):

it appears to be windows specific.  currently on both v6.4 and v7.2 I get:


>> z = acosh (10i);
>> printf ("Octave acosh(10i)  = %.16f + %.16fi\n", real (z), imag (z));
Octave acosh(10i)  = 2.9982229502979698 + 1.5707963267948966i
>> z = acosh (-10i);
>> printf ("Octave acosh(-10i) = %.16f + %.16fi\n", real (z), imag (z));
Octave acosh(-10i) = 2.9982229502979760 + -1.5707963267948966i
 

real difference is -6.2172e-15, or ~28eps.  while on v8 in linux the real
difference is 'zero', matching your comment #16 result.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?49091>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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