🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4228

MathLib0 procedures

#4228
From: "Michael Drechsler +49 343062", ...
Date: Mon, 09 May 1988 10:01
16 lines
903 bytes
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
Technical Details
Message-ID: <INFO-M2%88050910174344@DB0TUI11>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!DE0HRZ1A.BITNET!HPA111

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <INFO-M2%88050910174344@DB0TUI11>
Date: 9 May 88 10:01:03 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Info-Modula2 Distribution List <INFO-M2%UCF1VM.bitnet@jade.berkeley.edu>
Organization: The Internet
Lines: 16