Class FastMath.CodyWaite

java.lang.Object
org.apache.commons.math3.util.FastMath.CodyWaite
Enclosing class:
FastMath

private static class FastMath.CodyWaite extends Object
Enclose the Cody/Waite reduction (used in "sin", "cos" and "tan").
  • Field Details

    • finalK

      private final int finalK
      k
    • finalRemA

      private final double finalRemA
      remA
    • finalRemB

      private final double finalRemB
      remB
  • 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