[plt-scheme] 205.6
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.