|
speed of math.h trig functions?
Hi,
I've always been a proponent of using your own integer-valued CORDIC/table/Taylor series trig functions on the PIC because of the lack of a hardware FPU. I've always been told it's much faster.
The question that is now on my mind is, how much faster? I've noticed a lot of teams this year using the math.h trig functions, floating-points and all.
Has anyone any empirical evidence of the speed difference between the two methods? I might as well use math.h if the difference is small (plus, there would be only a couple of calls per 26ms).
|