Java sin sin(float n)

Here you can find the source of sin(float n)

Description

sin

License

Open Source License

Declaration

public static float sin(float n) 

Method Source Code

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

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

    public static float sin(float n) {
        return sin[(int) (n * 10430.378F) & 0xffff];
    }//from   ww  w .j  a va 2s  . com
}

Related

  1. sin(double... v)
  2. sin(final double value)
  3. sin(final float angle)
  4. sin(float angle)
  5. sin(float angle)
  6. sin(int angle)
  7. sin(int angle)
  8. sin(int f)
  9. sin(int i)