java.lang.StrictMath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-js-jre Show documentation
Show all versions of dragome-js-jre Show documentation
Dragome SDK module: js-jre
package java.lang;
public class StrictMath
{
public static final double E= 2.7182818284590452354;
public static final double PI= 3.14159265358979323846;
public static double sqrt(double value)
{
return Math.sqrt(value);
}
public static double cos(double value)
{
return Math.cos(value);
}
public static double sin(double value)
{
return Math.sin(value);
}
public static double atan2(double value, double value2)
{
return Math.atan2(value, value2);
}
public static double round(double value)
{
return Math.round(value);
}
public static int round(float a) {
return Math.round(a);
}
}