At 02:25 PM 9/24/2001 -0400, Gregor N. Purdy wrote:
>Fortunately, there is a perfectly rational definition of the mod(x,y)
>function over the full domains of x and y, and even for x and y that
>are not integral. This can be found in the book Concrete Mathematics,
>Second Edition by Graham, Knuth and Patashnik (Section 3.4, pages
>81-85.
Keen, I'd forgotten that was in there. I'd say toss the other mods and go
with this as our sole modulus operator, assuming that it behaves the same
as C's % for positive integers.
Once the feature freeze is over this can go in.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk