|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #45507] acos returns different results on big input values |
Date: | Wed, 03 Feb 2016 18:06:15 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1 |
Follow-up Comment #12, bug #45507 (project octave): Complex is just a typedef for std::complex<double>, so I think it might be better to define the templates in terms of the real type only: template <typename T> std::complex<T> acos (const std::complex<T>& x) { ... } Then could we eliminate the wrapper function? Please also use "typename" instead of "class" in the template declarations. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45507> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |