[chuck-users] Integer divisions

David Rush kumoyuki at gmail.com
Tue Dec 15 06:05:52 EST 2009


2009/12/15 Hans Aberg <haberg at math.su.se>:
> I find the integer divisions C rule is problematic

Well integer division is a fundamentally different operation from
rational division - which is also a different operation from
floating-point division. Augmenting Chuck to have true rationals might
be nice, but I can't see the elimination of integer division as
useful.

Of course the real question is whether the integer remainders are
mathematically correct (they aren't in most C-derived computer
languages).

david rush
-- 
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt


More information about the chuck-users mailing list