THE PACKAGE JAVA.LANG
java.lang.Math
20.11
20.11 The Class
java.lang.Math
Oh, back to the days that were free from care in the 'Ology 'varsity shop,
With nothing to do but analyse air in an anemometrical top,
Or the differentiation of the trigonometrical pow'rs
Of the constant pi that made me sigh in those happy days of ours!
 I. W. Litchfield,
Take Me Back to Tech
 (1885)
The class
Math
 contains useful basic numerical constants and methods.
public final class Math {
public static final double E = 2.7182818284590452354;
public static final double PI = 3.14159265358979323846;
public static double sin(double a);
public static double cos(double a);
public static double tan(double a);
public static double asin(double a);
public static double acos(double a);
public static double atan(double a);
public static double atan2(double a, double b);
public static double exp(double a);
public static double log(double a);
public static double sqrt(double a);
public static double pow(double a, double b);
public static double IEEEremainder(double f1, double f2);
public static double ceil(double a);
public static double floor(double a);
public static double rint(double a);
public static int round(float a);
public static long round(double a);
public static double random();
public static int abs(int a);
public static long abs(long a);
public static float abs(float a);
public static double abs(double a);
public static int min(int a, int b);
public static long min(long a, long b);
public static float min(float a, float b);
public static double min(double a, double b);
public static int max(int a, int b);
public static long max(long a, long b);
public static float max(float a, float b);
public static double max(double a, double b);
}
517






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved