Main Menu

fast integer math

Started by Rx7man, July 18, 2015, 11:13:01 AM

Rx7man

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
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles