Package org.apache.commons.math3.util
Class FastMath.CodyWaite
java.lang.Object
org.apache.commons.math3.util.FastMath.CodyWaite
- Enclosing class:
FastMath
Enclose the Cody/Waite reduction (used in "sin", "cos" and "tan").
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
finalK
private final int finalKk -
finalRemA
private final double finalRemAremA -
finalRemB
private final double finalRemBremB
-
-
Constructor Details
-
CodyWaite
CodyWaite(double xa) - Parameters:
xa
- Argument.
-
-
Method Details
-
getK
int getK()- Returns:
- k
-
getRemA
double getRemA()- Returns:
- remA
-
getRemB
double getRemB()- Returns:
- remB
-