[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: P.S. to previous message
- To: MOON at MIT-MC
- Subject: Re: P.S. to previous message
- From: David L. Andre <DLA at MIT-EECS>
- Date: Sat, 14 Mar 81 05:07:00 GMT
- Cc: info-lispm at MIT-AI, (BUG LISP) at MIT-MC, DLA at MIT-EECS
- In-reply-to: Your message of 13-Mar-81 1803-EST
- Original-date: 14 Mar 1981 0007-EST
Is it possible to get, in a single operation, both the quotient and
remainder in a fixnum division? I have often wanted to do something
like:
(MULTIPLE-VALUE (QUO REM)
(FLOOR A B))
but have had to do 2 separate operations, which I assume is more time
consuming. As long as these new functions are being installed, and if
the overhead isn't too much, could this be put on all forms of
division which entail any sort of truncation?
-- Dave
-------