http://qs321.pair.com?node_id=180417


in reply to A better mod (%) operator?

You might be interested in Bit::Vector which according to its homepage uses Perl for overloading but implements the object methods (e.g. Divide and GCD) in C. Interesting bit (sorry) about Euclid's Theorem.

You may also like to have fun with the integer pragma.