[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: scheme@mit-mc.ARPA*Subject*: quotient, remainder, letrec*From*: Will Clinger <willc%indiana.csnet@csnet-relay.arpa>*Date*: Fri, 1 Feb 85 11:13:53 est

In the preliminary report on the Brandeis workshop, I said that quotient and remainder were such that if x, y, q, and r are integers such that x = qy + r, y is nonzero, r has the same sign as y and has absolute value less than that of y, then (quotient x y) was q and (remainder x y) was r. Since that conflicts with Common Lisp, Franz Lisp, T, Scheme 84, Scheme 312, and maybe MIT Scheme (my documentation on MIT Scheme isn't clear on the issue), I retract that definition in favor of: If x, y, q, and r are integers such that x = qy + r, y is nonzero, r has the same sign as x, and |r| < |y|, then (quotient x y) is q and (remainder x y) is r. The definition of letrec in the preliminary report is wrong. William Clinger willc@indiana

- Prev by Date:
**Resources for Scheme course** - Next by Date:
**Scheme String Operations** - Prev by thread:
**Resources for Scheme course** - Next by thread:
**Scheme String Operations** - Index(es):