tarcieri / micromath

Embedded Rust arithmetic, 2D/3D vector, and statistics library
Apache License 2.0
401 stars 21 forks source link

Document cosine implementation #88

Closed tarcieri closed 3 years ago

tarcieri commented 3 years ago

Includes a quoted prose description of the method by Nick Capen originally from:

http://forum.devmaster.net/t/fast-and-accurate-sine-cosine/9648

Unfortunately the site has since gone down, hence including it into the rustdoc.

codecov-commenter commented 3 years ago

Codecov Report

Merging #88 (25f3fe7) into main (2f1d9cc) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   57.42%   57.42%           
=======================================
  Files          38       38           
  Lines         876      876           
=======================================
  Hits          503      503           
  Misses        373      373           
Impacted Files Coverage Δ
src/float/cos.rs 92.30% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2f1d9cc...25f3fe7. Read the comment docs.