jgk@osc.COM (Joe Keane) (09/09/90)
In article <2108@bnlux0.bnl.gov> thomas@max.UUCP (Richard A. Thomas) writes: > Hewlett Packard's Rocky Mountain Basic gives you a choice. It has both a >MOD and a MODULO. Yeah, my HP-71's `Minimal' Basic has not one but three of the functions: MOD(X,Y) `modulus': same sign as Y, quotient is the more negative one RMD(X,Y) `remainder': same sign as X; the quotient is closer to zero RED(X,Y) `reduction': the nearest quotient, the even one if halfway between