java.lang
Class Math

java.lang.Object
  |
  +--java.lang.Math

public final synchronized class Math
extends Object


Field Summary
static double E
           
private static long negativeZeroDoubleBits
           
private static long negativeZeroFloatBits
           
static double PI
           
private static java.util.Random randomNumberGenerator
           
 
Constructor Summary
private Math()
           
 
Method Summary
(package private) static void ()
           
static double abs(double)
           
static float abs(float)
           
static int abs(int)
           
static long abs(long)
           
static double acos(double)
           
static double asin(double)
           
static double atan(double)
           
static double atan2(double, double)
           
static double ceil(double)
           
static double cos(double)
           
static double exp(double)
           
static double floor(double)
           
static double IEEEremainder(double, double)
           
private static void initRNG()
           
static double log(double)
           
static double max(double, double)
           
static float max(float, float)
           
static int max(int, int)
           
static long max(long, long)
           
static double min(double, double)
           
static float min(float, float)
           
static int min(int, int)
           
static long min(long, long)
           
static double pow(double, double)
           
static double random()
           
static double rint(double)
           
static long round(double)
           
static int round(float)
           
static double sin(double)
           
static double sqrt(double)
           
static double tan(double)
           
static double toDegrees(double)
           
static double toRadians(double)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

E

public static final double E
See Also:
Constant Field Values

PI

public static final double PI
See Also:
Constant Field Values

randomNumberGenerator

private static java.util.Random randomNumberGenerator

negativeZeroFloatBits

private static long negativeZeroFloatBits

negativeZeroDoubleBits

private static long negativeZeroDoubleBits
Constructor Detail

Math

private Math()
Method Detail

sin

public static double sin(double)

cos

public static double cos(double)

tan

public static double tan(double)

asin

public static double asin(double)

acos

public static double acos(double)

atan

public static double atan(double)

toRadians

public static double toRadians(double)

toDegrees

public static double toDegrees(double)

exp

public static double exp(double)

log

public static double log(double)

sqrt

public static double sqrt(double)

IEEEremainder

public static double IEEEremainder(double,
                                   double)

ceil

public static double ceil(double)

floor

public static double floor(double)

rint

public static double rint(double)

atan2

public static double atan2(double,
                           double)

pow

public static double pow(double,
                         double)

round

public static int round(float)

round

public static long round(double)

initRNG

private static void initRNG()

random

public static double random()

abs

public static int abs(int)

abs

public static long abs(long)

abs

public static float abs(float)

abs

public static double abs(double)

max

public static int max(int,
                      int)

max

public static long max(long,
                       long)

max

public static float max(float,
                        float)

max

public static double max(double,
                         double)

min

public static int min(int,
                      int)

min

public static long min(long,
                       long)

min

public static float min(float,
                        float)

min

public static double min(double,
                         double)

static void ()