Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
MathLib


NAME

MathLib, arctan, exp, ln, sin, cos, sqrt - mathematical library

SYNOPSIS

PROCEDURE arctan(x: REAL) : REAL;

PROCEDURE exp(x: REAL) : REAL;

PROCEDURE ln(x: REAL) : REAL;

PROCEDURE sin(x: REAL) : REAL;

PROCEDURE cos(x: REAL) : REAL;

PROCEDURE sqrt(x: REAL) : REAL;

DESCRIPTION

Arctan returns the arc tangent of x in the range -pi/2 to pi/2.

Exp returns the exponential function of x.

Ln returns the natural logarithm of x.

Sin and cos return trigonometric functions of radian arguments.

Sqrt returns the square root of x.


Edited by: martin, last change: 1996/12/04, revision: 1.1, converted to HTML: 1996/12/11

Modula-2 || Compiler & Tools || Library || Search Engine