http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math/
And just in general: http://lab.polygonal.de/Michael's examples are the fastest versions of various algorithms, such as collision detection, tangent approximation, etc. There is much to learn from his blog.
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders