Java cos cos(double d)

Here you can find the source of cos(double d)

Description

cos

License

Open Source License

Declaration

public static double cos(double d) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double[] SIN_TABLE = new double[65536];

    public static double cos(double d) {
        return SIN_TABLE[(int) ((float) d * 10430.378F + 16384.0F) & 65535];
    }//from  w  w  w . j a  v a  2s .c  om
}

Related

  1. cos(double a)
  2. cos(double anAngle)
  3. cos(double radians)
  4. cos(double[] v1, double[] v2)
  5. cos(double[] v1, double[] v2)
  6. cos(final double value)