Example usage for Java org.apache.commons.math3.dfp DfpMath fields, constructors, methods, implement or subclass
The text is from its open source code.
Dfp | atan(final Dfp a) computes the arc tangent of the argument Uses the typical taylor series but may reduce arguments using the following identity tan(x+y) = (tan(x) + tan(y)) / (1 - tan(x)*tan(y)) since tan(PI/8) = sqrt(2)-1, atan(x) = atan( (x - sqrt(2) + 1) / (1+x*sqrt(2) - x) + PI/8.0 |
Dfp | cos(Dfp a) computes the cosine of the argument. |
Dfp | sin(final Dfp a) computes the sine of the argument. |