1996 2023 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. math Joe Armstrong Bjarne Däcker 1 Bjarne Däcker 1997-01-15 B math.xml
math Mathematical functions.

This module provides an interface to a number of mathematical functions.

Not all functions are provided on all platforms. In particular, the erf/1 and erfc/1 functions are not provided on Windows.

Diverse math functions.

A collection of mathematical functions that return floats. Arguments are numbers.

Error function.

Returns the error function of X, where:

erf(X) = 2/sqrt(pi)*integral from 0 to X of exp(-t*t) dt.
Another error function.

erfc(X) returns 1.0 - erf(X), computed by methods that avoid cancellation for large X.

Ratio of the circumference of a circle to its diameter.

Ratio of the circumference of a circle to its diameter.

Floating point approximation of mathematical constant pi.

Ratio of the circumference of a circle to its radius.

Ratio of the circumference of a circle to its radius.

This constant is equivalent to a full turn when described in radians.

The same as 2 * pi().

Limitations

As these are the C library, the same limitations apply.