1996 2016 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 97-01-15 B math.sgml
math Mathematical Functions

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

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

A useful number

A useful number.

Diverse math functions

A collection of math functions which 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.

Bugs

As these are the C library, the bugs are the same.