math module bug

Vlad Dumitrescu XX (LN/EAB) <>
Fri May 13 10:18:53 CEST 2005


> But one question first. What are the functions used for?

They are mostly used in statistics, erf(x) is related to the cumulated normal distribution function, which in turn is the probability to get a value <= x for a random variable with normal distribution.

See http://mathworld.wolfram.com/Erf.html if interested in more details.

> I have alwayws wondered why they were included in Erlang. (Joe?)

My guess is that they are there because they were in the C library, and why leave them out? :-)

regards,
Vlad



More information about the erlang-questions mailing list