math module bug
Vlad Dumitrescu XX (LN/EAB)
vlad.xx.dumitrescu@REDACTED
Fri May 13 08:37:50 CEST 2005
Hi,
From: Richard A. O'Keefe
>Why not provide default implementations of the missing functions?
>Link them after libm, and you get the libm versions if they exist
>or the default ones if they don't.
I didn't need a very exact implementation, nor a fast one, so I ended implementing them in Erlang, using linear interpolation.
A C implementation can be found at http://www.ks.uiuc.edu/Research/namd/doxygen/erf_8C-source.html, if the Sun copyright notice is kept.
regards,
Vlad
More information about the erlang-questions
mailing list