If this code works, it was written by Paul DiLascia. If not, I don't know who wrote it ..I'll be laughing when I'm old and and all my programmer friends have gone alexic from staring at too many tiny pixels
The best way to understand any system is to understand the problem it was invented to solve.
your 90MHz Pentium won't have any trouble doing arithmetic (except for certain divisions).