[plt-scheme] 205.6

From: Joe Marshall (jrm at ccs.neu.edu)
Date: Fri Nov 21 12:01:51 EST 2003

Matthew Flatt <mflatt at cs.utah.edu> writes:

>
> If anyone knows better or more standard names for the new functions,
> please let me know. I could only find a precedent for `integer-sqrt'
> (from SLIB), and I didn't like the precedent I found for
> `quotient/remainder' (called `divide' in VSCM).

MIT Scheme has the function 

integer-divide  that returns a structure that contains the quotient and remainder.
integer-divide-quotient  is a selector for the quotient and
integer-divide-remainder selects the remainder.



Posted on the users mailing list.