|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #44310] log and functions which use log return incorrect result |
Date: | Sun, 08 Mar 2015 00:02:41 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 |
Follow-up Comment #12, bug #44310 (project octave): Since Octave uses C++ wherever possible, you should look at the C++ function template std::atanh instead of catanh/catanhf. This is via the standard complex header file, so no need to include anything more. This is also a relatively new feature of C++11, so there would need to be some Autoconf work done to make sure the function is available and fall back to the current equivalent log expression when the compiler doesn't provide the function. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44310> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |