palmos
Class Pfloat

java.lang.Object
  |
  +--java.lang.Number
        |
        +--palmos.Pfloat

public class Pfloat
extends java.lang.Number

See Also:
Serialized Form

Field Summary
private  short exp
           
private  int man
           
private  byte sign
           
 
Fields inherited from class java.lang.Number
serialVersionUID
 
Constructor Summary
Pfloat()
           
Pfloat(int x)
           
Pfloat(Pfloat f)
           
Pfloat(java.lang.String s)
           
 
Method Summary
 Pfloat add(Pfloat a, Pfloat b)
           
 int base10Info(java.lang.Integer mantissa, java.lang.Integer exponent, java.lang.Integer sign)
           
 Pfloat div(Pfloat a, Pfloat b)
           
 double doubleValue()
           
 float floatValue()
           
static void free()
           
static int init()
           
private  void initInt(int x)
           
private  void initString(java.lang.String s)
           
 int intValue()
           
 long longValue()
           
 Pfloat mul(Pfloat a, Pfloat b)
           
 Pfloat sub(Pfloat a, Pfloat b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

man

private int man

exp

private short exp

sign

private byte sign
Constructor Detail

Pfloat

public Pfloat()

Pfloat

public Pfloat(int x)

Pfloat

public Pfloat(java.lang.String s)

Pfloat

public Pfloat(Pfloat f)
Method Detail

init

public static int init()

free

public static void free()

initInt

private void initInt(int x)

initString

private void initString(java.lang.String s)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

base10Info

public int base10Info(java.lang.Integer mantissa,
                      java.lang.Integer exponent,
                      java.lang.Integer sign)

intValue

public int intValue()
Overrides:
intValue in class java.lang.Number

longValue

public long longValue()
Overrides:
longValue in class java.lang.Number

floatValue

public float floatValue()
Overrides:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Overrides:
doubleValue in class java.lang.Number

add

public Pfloat add(Pfloat a,
                  Pfloat b)

sub

public Pfloat sub(Pfloat a,
                  Pfloat b)

mul

public Pfloat mul(Pfloat a,
                  Pfloat b)

div

public Pfloat div(Pfloat a,
                  Pfloat b)