Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari!aplcen!uunet!mcsun!sunic!liuida!JWC From: JWC@IDA.LiU.SE (Jonas Wallgren) Newsgroups: comp.lang.misc Subject: MOD, REM, et al Message-ID: <1694@majestix.liu.se> Date: 24 Feb 90 14:39:57 GMT Sender: jonwa@majestix.liu.se Lines: 23 Organisation: CIS Dept, Univ of Linkoping, Sweden For a survey of different definitions of the operators mod and rem and things like that, see A. P. Chang A note on the modulo operator SIGPLAN Notices, April 1985, pp 19-23 Gary A. Hill A note on the modulo operator in Edison SIGPLAN Notices, April 1987, pp 28-29 (Contains a remark to Chang's paper) The paper by Chang also contains a list of which definition is used in which programming language. ------------------------------------------------------------------------------- Jonas Wallgren | JWC@IDA.LiU.SE Department of Computer and Information Science | Linkoping University |------------------------------- SE-581 83 Linkoping | Sweden |(\x.xx)(\x.x):(forall a.(a->a)) -------------------------------------------------------------------------------