Path: 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: Date: 5 May 88 16:12:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Info-Modula2 Distribution List Organization: The Internet Lines: 16 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