Java cos cos(float f)

Here you can find the source of cos(float f)

Description

cos

License

Open Source License

Declaration

public static final float cos(float f) 

Method Source Code

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

public class Main {
    private static float[] a = new float[65536];

    public static final float cos(float f) {
        return a[(int) (f * 10430.378F + 16384.0F) & '\uffff'];
    }//from ww  w.  j a  va2s.  c o m
}

Related

  1. cos(double[] v1, double[] v2)
  2. cos(final double value)
  3. cos(final float angle)
  4. cos(final float value)
  5. cos(float angle)
  6. cos(int angle)
  7. cos(int angle)
  8. cos(int f)
  9. cos(int i)