2 ms·
OP's lookup table benchmarking is bad. The "modd(x, CONST_2PI);" at the top will dominate, by far, the runtime. Anyone who wants performance measures angles
by londons_explore 3y ago
OP's lookup table benchmarking is bad. The "modd(x, CONST_2PI);" at the top will dominate, by far, the runtime.
Anyone who wants performance measures angles using n bit fixed point math, mapping 0 to 2*pi as 0 to (2^n)-1.