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

Re: P.S. to previous message

    Date: 14 Mar 1981 0007-EST
    From: David L. Andre <DLA at MIT-EECS>

    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

      (FLOOR A B))

So have I.  Unfortunately it is rather difficult to get this to work
since arithmetic is performed in microcode, and it is difficult to get
multiple values out from microcode.  The loss in calling the divide
code twice is not great unless you are doing very many bignum divides
of very large bignums very often.