4 ms·
Niklaus Wirth also has some cosine code (probably meant more for software floating point, or fp FPGA blocks); I don't know how they compare with these approxima
by aebtebeten 3y ago
Niklaus Wirth also has some cosine code (probably meant more for software floating point, or fp FPGA blocks); I don't know how they compare with these approximations but his seem to be within 1e-6 of python's math.cos ...
https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Math.Mod.txt https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Math....