math module bug

Vlad Dumitrescu XX (LN/EAB) vlad.xx.dumitrescu@REDACTED
Fri May 13 08:37:50 CEST 2005


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, if the Sun copyright notice is kept.


More information about the erlang-questions mailing list