Java sin sin(double d)

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

Description

sin

License

LGPL

Declaration

public static double sin(double d) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

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

    public static double sin(double d) {

        return SIN_TABLE[(int) ((float) d * 10430.378F) & 65535];
    }/*from   w ww.  j a va  2  s. c o  m*/
}

Related

  1. sin(double a)
  2. sin(double anAngle)
  3. sin(double radians)
  4. sin(double... v)
  5. sin(final double value)
  6. sin(final float angle)