table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
other sections
math(3erl) | Erlang Module Definition | math(3erl) |
NAME¶
math - Mathematical FunctionsDESCRIPTION¶
This module provides an interface to a number of mathematical functions.Note:
Not all functions are implemented on all platforms. In particular, the
erf/1 and erfc/1 functions are not implemented on Windows.
EXPORTS¶
pi() -> float()
A useful number.
Types:
X = Y = number()
A collection of math functions which 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.
BUGS¶
As these are the C library, the bugs are the same.stdlib 1.18.1 | Ericsson AB |