# Category : Modula II Source Code

Archive : M2CMP20.ZIP

Filename : MATHLIB0.DEF

(* (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.

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

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

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/