Article View: comp.lang.modula2
Article #4226REM operator
From: Harvard Townsend
Date: Thu, 05 May 1988 16:12
Date: Thu, 05 May 1988 16:12
16 lines
1403 bytes
1403 bytes
Can someone please explain the REM operator in Modula-2? Wirth has
it defined for REAL and LONGREAL types in his one-pass compiler source,
but I have not seen it mentioned in any Modula-2 books. Since
it is defined for floats, "remainder" doesn't make sense. The source
just calls a routine "FRem2" ("floating point REM operation with 2 operands")
which is not provided (I had to call floating point emulation library routines
to implement the other float operations). Anyone seen this before?
______________________________________
Harvard Townsend, Systems Manager
Dept. of Computing & Information Sciences
Kansas State University, Manhattan, KS 66506 (913)532-6350
CSNET: harv@cis.ksu.edu -or- harv@kansas-state.csnet
BITNET: harv@ksuvax1.bitnet -or- harv%ksuvax1.bitnet@cunyvm.cuny.edu
UUCP: ihnp4,sdcsvax,cbatt,dcdwest !ncr-sd!ncrwic!ksuvax1!harv
-or- ihnp4!wnuxa!ksuvax1!harv -or- ...!psuvax1!ksuvax1.bitnet!harv
AT&T Mail: attmail!htownsend
Technical Details
Message-ID:
<INFO-M2%88050513163817@UCF1VM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!ksuvax1.BITNET!harvShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!ksuvax1.BITNET!harv From: harv@ksuvax1.BITNET (Harvard Townsend) Newsgroups: comp.lang.modula2 Subject: REM operator Message-ID: <INFO-M2%88050513163817@UCF1VM> Date: 5 May 88 16:12:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Info-Modula2 Distribution List <INFO-M2%UCF1VM.bitnet@jade.berkeley.edu> Organization: The Internet Lines: 16