|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.spaces.basic.Position
|
+--org.abora.white.tumbler.RealPos
Represents some real number exactly. Not all real numbers can be exactly represented. See class comment in RealSpace.
| Constructor Summary | |
protected |
RealPos()
|
|
RealPos(Rcvr receiver)
|
| Method Summary | |
int |
actualHashForEqual()
since we redefine equal, subclasses had better redefine actualHashForEqual |
abstract double |
asIEEE()
Returns the value as IEEE basic data type is big enough to hold any value which can be put into an XuReal. |
abstract double |
asIEEE64()
Returns the value as IEEE64 (double precision). |
XnRegion |
asRegion()
Essential. |
CoordinateSpace |
coordinateSpace()
Essential. |
static java.lang.String |
exportName()
|
static void |
info()
{PrimFloat CLIENT} value |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
boolean |
isGE(Position other)
|
static RealPos |
make(double value)
make an XuReal given an IEEE floating point number of whatever precision on this platform is able to hold all the real numbers currently representable by an XuReal. |
static RealPos |
makeIEEE32(float value)
See comment in XuReal::makeIEEE64 |
static RealPos |
makeIEEE64(double value)
Returns an XuReal which exactly represents the same real number that is represented by 'value'. |
abstract int |
precision()
What precision is it, in terms of the number of bits used to represent it. |
void |
sendSelfTo(Xmtr xmtr)
|
abstract PrimFloatValue |
value()
Essential. |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destroy, destruct, equals, hashForEqual, printContentsOn, printOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected RealPos()
public RealPos(Rcvr receiver)
| Method Detail |
public XnRegion asRegion()
Position
asRegion in class Positionpublic CoordinateSpace coordinateSpace()
Position
coordinateSpace in class Positionpublic abstract PrimFloatValue value()
public int actualHashForEqual()
Position
actualHashForEqual in class Positionpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Positionpublic boolean isGE(Position other)
public abstract double asIEEE()
public abstract double asIEEE64()
public abstract int precision()
public void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaperpublic static RealPos make(double value)
public static RealPos makeIEEE32(float value)
public static RealPos makeIEEE64(double value)
public static void info()
public static java.lang.String exportName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||