This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class constants { | |
public static final double PI_INV = 1.0/StrictMath.PI; | |
public static final double PI_SL8 = StrictMath.PI * 0.125; | |
public static final double TWO_PI = 2*StrictMath.PI; | |
public static final double TWO_PI_INV = 0.5*PI_INV; | |
public static final double HALF_PI = 0.5*StrictMath.PI; | |
// Euler-Mascheroni constant (gamma) | |
public static final double EM = | |
+0.5772156649015328606065120900824024310421593359; |
NewerOlder