A use for integer quotients

Skip Montanaro skip at pobox.com
Mon Jul 23 11:40:50 EDT 2001


    >> During the debate on changing int/int to give a float result, some
    >> proponents appeared to question the usefulness of integer quotients.

    Moshe> Yes. Nobody said it wasn't of any use, people just claim it is
    Moshe> *less* useful, and so should not be the most easily
    Moshe> accessible. You can still have i//j for all your combinatorics
    Moshe> needs.

I'd like to see some support for the claim that int/int==float is preferred
by a sufficiently large fraction of the current population that it shouldn't
be spelled int//int==float.

Skip




More information about the Python-list mailing list