Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Math

Availability: JDK 1.0

public final class Math extends Object {
   // No Constructor
   // Constants
      public static final double E;
      public static final double PI;
   // Class Methods
      public static native double IEEEremainder(double f1, double f2);
      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 native double acos(double a);
      public static native double asin(double a);
      public static native double atan(double a);
      public static native double atan2(double a, double b);
      public static native double ceil(double a);
      public static native double cos(double a);
      public static native double exp(double a);
      public static native double floor(double a);
      public static native double log(double a);
      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);
      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 native double pow(double a, double b);
      public static synchronized double random();
      public static native double rint(double a);
      public static int round(float a);
      public static long round(double a);
      public static native double sin(double a);
      public static native double sqrt(double a);
      public static native double tan(double a);
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.