Math JDK 1.0

java.lang

Synopsis^  ?
public final class Math {
// No Constructor
// Public Constants
    public final static double E; =2.718281828459045 
    public final static double PI; =3.141592653589793 
// Public Class Methods
    public static float abs( float a);  
    public static int abs( int a);  
    public static long abs( long a);  
    public static double abs( double a);  
    public static double acos( double a); native 
    public static double asin( double a); native 
    public static double atan( double a); native 
    public static double atan2( double a, double b); native 
    public static double ceil( double a); native 
    public static double cos( double a); native 
    public static double exp( double a); native 
    public static double floor( double a); native 
    public static double IEEEremainder( double f1, double f2); native 
    public static double log( double a); native 
    public static int max( int a, int b);  
    public static long max( long a, long b);  
    public static double max( double a, double b);  
    public static float max( float a, float b);  
    public static int min( int a, int b);  
    public static long min( long a, long b);  
    public static double min( double a, double b);  
    public static float min( float a, float b);  
    public static double pow( double a, double b); native 
    public static double random( ); synchronized 
    public static double rint( double a); native 
    public static int round( float a);  
    public static long round( double a);  
    public static double sin( double a); native 
    public static double sqrt( double a); native 
    public static double tan( double a); native 
2.0 public static double toDegrees( double angrad);  
2.0 public static double toRadians( double angdeg);  
}

Hierarchy^  ?

[Object]
   |
[Math]

Inherited Properties^  ?
Object: class

Inherited Methods^  ?
Object: clone(), equals(), finalize(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()

Uses^  ?
Double, Float, Object

Used By^  ?
String


Java Power Reference. Created by David Flanagan.
Copyright © 1999 O'Reilly & Associates.All Rights Reserved.

This file may not be distributed on the Internet.