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: Rik
Subject: [Octave-bug-tracker] [bug #49091] MinGW std::acosh less accurate than Linux versions
Date: Wed, 3 Aug 2022 13:43:11 -0400 (EDT)

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

Tracing the code, acosh is a mapper function in libinterp which forwards to
liboctave.  In liboctave/numeric/lo-specfun.h there is a mapper of
octave::math::acosh to


    inline Complex acosh (const Complex& x) { return std::acosh (x); }


This looks alright to me.

@Markus: What happens if you make a .oct file which has the C++ code that
calls std::acosh and call that from Octave?

If that works, next step-wise change would be to use Complex and call
octave::numeric::acosh directly. 


    _______________________________________________________

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]