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

Method sinQ

Processing/game2dai/maths/FastMath.java:1996–2111  ·  view source on GitHub ↗

Compute sine over the first quadrant (0 < x < pi/2). Use combination of table lookup and rational polynomial expansion. @param xa number from which sine is requested @param xb extra bits for x (may be 0.0) @return sin(xa + xb)

(double xa, double xb)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

cosQMethod · 0.95
sinMethod · 0.95
cosMethod · 0.95

Calls 2

polySineMethod · 0.95
polyCosineMethod · 0.95

Tested by

no test coverage detected