MCPcopy Create free account
hub / github.com/dabing1022/Blog / polyCosine

Method polyCosine

Processing/game2dai/maths/FastMath.java:1977–1987  ·  view source on GitHub ↗

Computes cos(x) - 1, where |x| < 1/16. Use a Remez polynomial approximation. @param x a number smaller than 1/16 @return cos(x) - 1

(double x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

sinQMethod · 0.95
tanQMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected