org.abora.white.value
Class IEEE32Value

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.value.PrimValue
              |
              +--org.abora.white.value.PrimFloatValue
                    |
                    +--org.abora.white.value.IEEE32Value

public class IEEE32Value
extends PrimFloatValue

Boxed Java float or IEEE32 value.


Constructor Summary
protected IEEE32Value(float value)
           
 
Method Summary
 float asIEEE32()
          The value as an IEEE 32-bit floating point number.
 double asIEEE64()
          Return the value as an IEEE 64-bit floating point number.
static IEEE32Value make(float f)
           
 
Methods inherited from class org.abora.white.value.PrimFloatValue
isEqual
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
actualHashForEqual, destroy, destruct, equals, hashForEqual, printContentsOn, printOn, sendSelfTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IEEE32Value

protected IEEE32Value(float value)
Method Detail

make

public static IEEE32Value make(float f)

asIEEE32

public float asIEEE32()
Description copied from class: PrimFloatValue
The value as an IEEE 32-bit floating point number. May not be possible if conversion from subclass to IEEE type is not available.

Specified by:
asIEEE32 in class PrimFloatValue

asIEEE64

public double asIEEE64()
Description copied from class: PrimFloatValue
Return the value as an IEEE 64-bit floating point number.

Specified by:
asIEEE64 in class PrimFloatValue
Returns:
double value as an IEEE 64-bit floating point number.


Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.