division by 7 efficiently ???

skip at pobox.com skip at pobox.com
Thu Feb 1 16:02:52 EST 2007


    Michael> I think it is off by 1 in small numbers, off by a little more
    Michael> with large numbers:
    ...

Sorta makes you think using the DIV instruction in the CPU is the way to
go. ;-)

Skip



More information about the Python-list mailing list