math
Module
math
Module Summary
Mathematical functions.
Description
This module provides an interface to a number of mathematical functions.
Exports
OTP 20.0 |
OTP 20.0 |
OTP 20.0 |
OTP 18.0 |
Types
Y = X = number()
A collection of mathematical functions that return floats. Arguments are numbers.
Types
X = number()
Returns the error function of X, where:
erf(X) = 2/sqrt(pi)*integral from 0 to X of exp(-t*t) dt.
Types
X = number()
erfc(X) returns 1.0 - erf(X), computed by methods that avoid cancellation for large X.
A useful number.
Limitations
As these are the C library, the same limitations apply.