Lil' Blackbox

Coding => v1.0 - v1.1 => Topic started by: Rx7man on July 18, 2015, 11:13:01 AM

Title: fast integer math
Post by: Rx7man on July 18, 2015, 11:13:01 AM
I was thinking of how to make faster math processing.. and then I remembered an old IBM machine from the '60's or something called the CADET

y'know what CADET stands for?  "Can't Add, Doesn't Even Try"

So how did that computer do math?  It used lookup tables to do it.. so it didn't have to do any math, and for any small integers it needed to add, multiply, divide or subtract, it just used a lookup table to find the answer.. I wonder if that would be adaptable to the Arduino.. it might even be faster than doing multiple bitwise operations