Path: utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!DE0HRZ1A.BITNET!HPA111
From: HPA111@DE0HRZ1A.BITNET ("Michael Drechsler +49  343062", 0201)
Newsgroups: comp.lang.modula2
Subject: MathLib0 procedures
Message-ID: 
Date: 9 May 88 10:01:03 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Info-Modula2 Distribution List 
Organization: The Internet
Lines: 16

Hello,
at the end of Wirth's book PIM2 ed.3 (german version) is a listing of
the def mod MathLib0, but no description. This module contains the two
procedures "real" and "entier". I have some ideas what this procs do,
but I'm not sure.

Is the
   PROCEDURE real(x:INTEGER): REAL;
only another form of FLOAT(CARDINAL(x))

or is the
   PROCEDURE entier(x:REAL): INTEGER;
just another form of INTEGER(TRUNC(x)) ?

Thanks for your help,
Mike