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

Method tanQ

Processing/game2dai/maths/FastMath.java:2139–2274  ·  view source on GitHub ↗

Compute tangent (or cotangent) 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) @param cotanFlag if true, compute the cotangent instead of the tangent

(double xa, double xb, boolean cotanFlag)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tanMethod · 0.95

Calls 2

polySineMethod · 0.95
polyCosineMethod · 0.95

Tested by

no test coverage detected