Back to index

plt-scheme  4.2.1
Math.java
Go to the documentation of this file.
00001 
00002 package java.lang;
00003 
00004 public final class Math extends Object {
00005   private Math() { super(); }
00006 
00007   private native static double getE();
00008   private native static double getPI();
00009 
00010   public static final double E = getE();
00011   public static final double PI = getPI();
00012 
00013   public native static double abs(double a);
00014   public native static float abs(float a);
00015   public native static int abs(int a);
00016   public native static long abs(long a);
00017   public native static double acos(double a);
00018   public native static double asin(double a);
00019   public native static double atan(double a);
00020   public native static double atan2(double y, double x);
00021   public native static double ceil(double a);
00022   public native static double cos(double a);
00023   public native static double exp(double a);
00024   public native static double floor(double a);
00025   public native static double IEEEremainder(double f1, double f2);
00026   public native static double log(double a);
00027   public native static double max(double a, double b);
00028   public native static float max(float a, float b);
00029   public native static int max(int a, int b);
00030   public native static long max(long a, long b);
00031   public native static double min(double a, double b);
00032   public native static float min(float a, float b);
00033   public native static int min(int a, int b);
00034   public native static long min(long a, long b);
00035   public native static double pow(double a, double b);
00036   public native static double random();
00037   public native static double rint(double a);
00038   public native static long round(double a);
00039   public native static int round(float a);
00040   public native static double sin(double a);
00041   public native static double sqrt(double a);
00042   public native static double tan(double a);
00043   public native static double toDegrees(double angrad);
00044   public native static double toRadians(double angdeg); 
00045 }