"Tim Peters" <[EMAIL PROTECTED]> writes:
> If Python switched to C99's definition of % for both integers and
> floats, that would work out better so far as it goes. But Python's %
> makes much more sense for integers, so that would be a flea on the
> tail of the dog wagging the guy walking the dog (float % is rare in
> real life).
Haskell has both div & mod (as in Python) and quot & rem (as in C99).
Only for integers though.
--
__("< Marcin Kowalczyk
\__/ [EMAIL PROTECTED]
^^ http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com