Category : Modula II Source Code
Archive   : M2CMP20.ZIP
Filename : MATHLIB0.DEF

 
Output of file : MATHLIB0.DEF contained in archive : M2CMP20.ZIP
DEFINITION MODULE MathLib0;

(* (C) Copyright 1987,1988 Fitted Software Tools. All rights reserved. *)

(*
MathLib0 module as defined in the book "Programming in Modula-2"
by Niklaus Wirth.
*)

PROCEDURE sqrt( x :REAL ) :REAL;

PROCEDURE exp( x :REAL ) :REAL;

PROCEDURE ln( x :REAL ) :REAL;

PROCEDURE sin( x :REAL ) :REAL;

PROCEDURE cos( x :REAL ) :REAL;

PROCEDURE arctan( x :REAL ) :REAL;

PROCEDURE real( x :INTEGER ) :REAL;

PROCEDURE entier( x :REAL ) :INTEGER;


END MathLib0.

  3 Responses to “Category : Modula II Source Code
Archive   : M2CMP20.ZIP
Filename : MATHLIB0.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/