ch.aplu.gidlet
Class Float11

java.lang.Object
  extended by ch.aplu.gidlet.Float11

public class Float11
extends java.lang.Object

Class for floating-point calculations in J2ME applications CLDC 1.1.
Copyright (c) 2004 Nick Henson
Company: UNTEH
License: Free use only for non-commercial purpose
Author: Nikolay Klimchuk


Field Summary
static double LOG10
          Log10 constant
static double LOGdiv2
          ln(0.5) constant
static double SQRT3
          Square root from 3
 
Constructor Summary
Float11()
           
 
Method Summary
static double acos(double x)
          Arcuscosinus in the range of [0, Pi].
static double asin(double x)
          Arcussinus in the range of [-Pi/2, Pi/2].
static double atan(double x)
          Arcustangens in the range of [-Pi/2, Pi/2].
static double atan2(double y, double x)
          Arcustangent of y/x in the range of [-Pi, Pi].
static double exp(double x)
          Exponential (base e).
static double log(double x)
          Logarithmus (base e).
static double log10(double x)
          Logarithmus (base 10).
static double pow(double x, double y)
          x to the power of y.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQRT3

public static final double SQRT3
Square root from 3

See Also:
Constant Field Values

LOG10

public static final double LOG10
Log10 constant

See Also:
Constant Field Values

LOGdiv2

public static final double LOGdiv2
ln(0.5) constant

See Also:
Constant Field Values
Constructor Detail

Float11

public Float11()
Method Detail

acos

public static double acos(double x)
Arcuscosinus in the range of [0, Pi].


asin

public static double asin(double x)
Arcussinus in the range of [-Pi/2, Pi/2].


atan

public static double atan(double x)
Arcustangens in the range of [-Pi/2, Pi/2].


atan2

public static double atan2(double y,
                           double x)
Arcustangent of y/x in the range of [-Pi, Pi].


exp

public static double exp(double x)
Exponential (base e).


log

public static double log(double x)
Logarithmus (base e).


log10

public static double log10(double x)
Logarithmus (base 10).


pow

public static double pow(double x,
                         double y)
x to the power of y.