[Jprogramming] *. bug or feature?

Raul Miller rauldmiller at gmail.com
Thu Mar 31 20:58:23 HKT 2011


When I look up "least common multiple", I get definitions for its
result like "the smallest positive integer which is a multiple of both
numbers".

Of course, that is bogus when one of the numbers is zero, and I am
still looking for a good definition.

But when one of the arguments to *. is negative, and the other is
positive, I get a negative result instead of a positive result...  I
think that this comes from using a definition of *%+. but is it
correct?

-- 
Raul


More information about the Programming mailing list