JML

java.lang
Class Math

java.lang.Object
  extended byjava.lang.Math

public final class Math
extends Object


Field Summary
static double E
           
private static long negativeZeroDoubleBits
           
private static long negativeZeroFloatBits
           
static double PI
           
private static Random randomNumberGenerator
           
 
Constructor Summary
private Math()
           
 
Method Summary
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

negativeZeroDoubleBits

private static long negativeZeroDoubleBits

randomNumberGenerator

private static Random randomNumberGenerator

E

public static final double E

PI

public static final double PI

negativeZeroFloatBits

private static long negativeZeroFloatBits
Constructor Detail

Math

private strictfp Math()
Method Detail

random

public static strictfp double random()

initRNG

private static strictfp void initRNG()

abs

public static strictfp double abs(double)

acos

public static strictfp double acos(double)

asin

public static strictfp double asin(double)

atan

public static strictfp double atan(double)

ceil

public static strictfp double ceil(double)

cos

public static strictfp double cos(double)

exp

public static strictfp double exp(double)

floor

public static strictfp double floor(double)

log

public static strictfp double log(double)

rint

public static strictfp double rint(double)

sin

public static strictfp double sin(double)

sqrt

public static strictfp double sqrt(double)

tan

public static strictfp double tan(double)

toDegrees

public static strictfp double toDegrees(double)

toRadians

public static strictfp double toRadians(double)

round

public static strictfp long round(double)

IEEEremainder

public static strictfp double IEEEremainder(double,
                                            double)

atan2

public static strictfp double atan2(double,
                                    double)

max

public static strictfp double max(double,
                                  double)

min

public static strictfp double min(double,
                                  double)

pow

public static strictfp double pow(double,
                                  double)

abs

public static strictfp float abs(float)

round

public static strictfp int round(float)

max

public static strictfp float max(float,
                                 float)

min

public static strictfp float min(float,
                                 float)

abs

public static strictfp int abs(int)

max

public static strictfp int max(int,
                               int)

min

public static strictfp int min(int,
                               int)

abs

public static strictfp long abs(long)

max

public static strictfp long max(long,
                                long)

min

public static strictfp long min(long,
                                long)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.