View Javadoc

1   // StrictMath.java, created Thu Jul  4  4:50:03 2002 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package joeq.ClassLib.Common.java.lang;
5   
6   import joeq.Support.JMath;
7   
8   /***
9    * StrictMath
10   *
11   * @author  John Whaley <jwhaley@alum.mit.edu>
12   * @version $Id: StrictMath.java 1451 2004-03-09 06:27:08Z jwhaley $
13   */
14  abstract class StrictMath extends java.lang.Object {
15  
16      // native method implementations
17      public static double sin(double a) { return JMath.sin(a); }
18      public static double cos(double a) { return JMath.cos(a); }
19      public static double tan(double a) { return JMath.tan(a); }
20      public static double asin(double a) { return JMath.asin(a); }
21      public static double acos(double a) { return JMath.acos(a); }
22      public static double atan(double a) { return JMath.atan(a); }
23      public static double exp(double a) { return JMath.exp(a); }
24      public static double log(double a) { return JMath.log(a); }
25      public static double sqrt(double a) { return JMath.sqrt(a); }
26      public static double IEEEremainder(double f1, double f2) { return JMath.IEEEremainder(f1, f2); }
27      public static double ceil(double a) { return JMath.ceil(a); }
28      public static double floor(double a) { return JMath.floor(a); }
29      public static double rint(double a) { return JMath.rint(a); }
30      public static double atan2(double a, double b) { return JMath.atan2(a, b); }
31      public static double pow(double a, double b) { return JMath.pow(a, b); }
32  
33  }