exp10 missing from non-GNU platforms
Closed this issue · 1 comments
GNU libraries provide exp10 (which seems to provide some speed benefit) in . OS X (and presumably other BSD-based systems) do not provide this function.
Proposed
Do a function check for exp10 at configure-time. If it does not exist, define it as
inline double exp10(double val)
{
return pow(10.0, val);
}
sounds fine to me.
On 7/23/13 1:15 PM, Elliot Robinson wrote:
GNU libraries provide exp10 (which seems to provide some speed benefit) in . OS
X (and presumably other BSD-based systems) do not provide this function.Proposed
Do a function check for exp10 at configure-time. If it does not exist, define it as
inline double exp10(double val)
{
return pow(10.0, val);
}—
Reply to this email directly or view it on GitHub
#39.
Ted von Hippel
Department of Physical Sciences
Embry-Riddle Aeronautical University
600 S. Clyde Morris Boulevard
Daytona Beach, FL 32114-3900
386-226-7751