All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.lang.StrictMath Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy