public static double sinQuick(double angle){
  if (USE_JDK_MATH) {
    return STRICT_MATH ? StrictMath.sin(angle) : Math.sin(angle);
  }
  return cosTab[((int)(Math.abs(angle - Math.PI / 2) * SIN_COS_INDEXER + 0.5)) & (SIN_COS_TABS_SIZE - 2)];
}

public static double sinQuick ( double angle ) { if ( USE_JDK_MATH ) { return STRICT_MATH ? StrictMath . sin ( angle ) : Math . sin ( angle ) ; } return cosTab [ ( ( int ) ( Math . abs ( angle - Math . PI / 2 ) * SIN_COS_INDEXER + 0.5 ) ) & ( SIN_COS_TABS_SIZE - 2 ) ] ; }
quick sine , with accuracy of about 1 . 6e - 3 ( pi / ' look - up tabs size ' ) for | angle | & lt ; 6588397 . 0 ( integer . max_value * ( 2 * pi / ' look - up tabs size ' ) ) , and no accuracy at all for larger values .
