Re: [genius-list] Quirks and buglist for 0.4.6 (with a patch even :)

From: <njh_at_cs.monash.edu.au>
Date: Wed, 8 Sep 1999 15:42:05 +1000 (EST)

On Wed, 8 Sep 1999, Squeak wrote:

> Quirk: 1^(-1) mod n yields "Can't do mods on floating or rational"

Perhaps 1^(-1) should be the inverse of 1, not the reciprocal?

> Quirk: If you use the "mod n" notation, it might be a better idea to use
> modulo arithemtic. Specifically 1/3 mod 5 = 2. And 1/2 mod 4 = Division
> by zero divisor undefined.

Exactly my point :-)

njh
Received on Tue Sep 07 1999 - 22:44:49 CDT

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:02 CDT