??? 06/16/06 07:54 Read: times |
#118395 - Fixed-point math Responding to: ???'s previous message |
Code the calculation with fixed-point math.
As for triangle functions, see this reference. "A Guide to Approximations" by Jack G. Ganssle http://www.ganssle.com/approx/approx.pdf This reference considers the approximation with polynomial. (familiar Taylor expansion). It is done in 'double', but the algorithm is applied to fixed-point math. Tsuneo |