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

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

[Octave-bug-tracker] [bug #56511] tanh returns NaN for certain complex v


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56511] tanh returns NaN for certain complex values in Windows under version 5.1.0 and 4.2.2 but not in Linux under 4.2.2.
Date: Thu, 20 Jun 2019 13:42:37 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Update of bug #56511 (project octave):

                  Status:               Confirmed => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

Octave calls the standard library function 'std::tanh(std::complex)'.

https://en.cppreference.com/w/cpp/numeric/complex/tanh

If this function returns a value on Windows that you think is incorrect, this
should probably be investigated in GCC or in the Windows system libraries. We
generally do not try to reinvent standard system library functions in Octave.

If you can show that a C++ program can call std::tanh with a complex argument
and return a different value from what Octave returns, then there may be a bug
in Octave and we can reopen this.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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