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

NTH-VALUE



    Date: 1 June 1983 22:42 EDT
    From: Earl A. Killian <EAK @ MIT-MC>
    I am in favor of this.  I think it will be very very common,
    because (NTH-VALUE 2 (FLOOR A B)) is how you would do modular
    arithmetic.

I'm not opposed to NTH-VALUE.  But allow me to point out that
(NTH-VALUE 2 (FLOOR A B)) is NIL and (NTH-VALUE 1 (FLOOR A B))
is (MOD A B).  We are sure not going to have ONE function in
this language that uses one-origin indexing, with everything else
using zero-origin indexing!