org.abora.white.value
Class IEEE64Value

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

public class IEEE64Value
extends PrimFloatValue

Boxed Java double or IEEE64 value.


Constructor Summary
protected IEEE64Value(double 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 IEEE64Value make(double value)
           
static IEEE64Value zero()
           
 
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

IEEE64Value

protected IEEE64Value(double value)
Method Detail

make

public static IEEE64Value make(double value)

zero

public static IEEE64Value zero()

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.