Integer Math

The FIRST Robotics Competition robot controllers up through 2008, as well as, the Vex and Edu mini-robot controllers do not have floating-point processors, so all math is performed as interger math. Floating-point values, e.g., 3.14159, can be used, but what really happens behind the scenes is the compiler includes software that computes real numbers using integer math. That means integer math is much more efficient (many times faster) than floating point math. Integer math has it’s pitfalls that you should be aware of.

Integer Math Lesson