??? 01/17/08 09:21 Read: times |
#149627 - complex math trough LUT Responding to: ???'s previous message |
the easiest way of doing complex math on a 8 bitter is trough a lookup table (LUT).
Just precalculate all the possible values and put them in a LUT the biggest problem is handling the decimal (1<x>0) values. Since a uC can only count in whole numbers. But there a tricks in multiplying it all with a factor 10 or hunderd. Succes! |