home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Modula
/
Source
/
MATHLIB1.DEF
< prev
next >
Wrap
Text File
|
1985-04-25
|
475b
|
21 lines
DEFINITION MODULE MathLib1; (* Math. library 1 *)
(* additional mathematical functions*)
(* M. Schneider 4. Juli 1983 *)
EXPORT QUALIFIED
pot, log, arctan2, tan,
random, setrandom, PI;
PROCEDURE pot ( x: REAL ): REAL;
PROCEDURE log ( x: REAL ): REAL;
PROCEDURE arctan2 ( x, y: REAL ): REAL;
PROCEDURE tan ( x: REAL ): REAL;
PROCEDURE random(): REAL;
(* range: 0.0 <= random < 1.0 *)
PROCEDURE setrandom( x0: REAL );
PROCEDURE PI(): REAL;
END MathLib1.