|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.x.PrimSpec
|
+--org.abora.gold.x.PrimFloatSpec
Specifies different precisions and representations of floating point numbers.
| Field Summary | |
protected int |
myBitCount
|
| Fields inherited from class org.abora.gold.x.PrimSpec |
myClass, TheIEEE32Spec, TheIEEE64Spec, TheInt32Spec, TheIntegerVarSpec, ThePtrSpec, TheSharedPtrSpec, TheUInt32Spec, TheUInt8Spec |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
PrimFloatSpec(Category primClass,
int bitCount)
|
|
PrimFloatSpec(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
PrimArray |
array(int count)
Make an array initialized to zero values |
PrimArray |
arrayFromBuffer(int count,
VoidStar buffer)
Make an array with the values at the given address |
int |
bitCount()
How many total bits per value |
static void |
info()
{PrimFloat CLIENT} preciseValue: number {IEEE128} {Int32 CLIENT} precision {PrimFloat CLIENT} value: number {IEEE64} |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
PrimFloatValue |
preciseValue(IEEE128 number)
A boxed floating point value from a large precision number |
int |
precision()
|
PrimArray |
privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
Make a copy of an array with a different representation size. |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
PrimFloatValue |
value(double number)
A boxed floating point value |
| Methods inherited from class org.abora.gold.x.PrimSpec |
array, arrayClass, arrayWith, arrayWithThree, arrayWithTwo, copy, copy, copy, copy, copy, copyGrow, iEEE, iEEE32, iEEE64, initSpecs, initTimeNonInherited, int32, integerVar, linkTimeNonInherited, pointer, sharedPointer, signedInteger, sizeofElement, toHold, uInt32, uInt8, unsignedInteger |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int myBitCount
| Constructor Detail |
public PrimFloatSpec(Category primClass,
int bitCount)
public PrimFloatSpec(Rcvr receiver)
| Method Detail |
public int bitCount()
public int actualHashForEqual()
actualHashForEqual in class PrimSpecpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Heaper
public PrimArray privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
privateCopy in class PrimSpecpublic PrimArray array(int count)
array in class PrimSpec
public PrimArray arrayFromBuffer(int count,
VoidStar buffer)
arrayFromBuffer in class PrimSpecpublic PrimFloatValue preciseValue(IEEE128 number)
public PrimFloatValue value(double number)
public int precision()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class PrimSpecpublic static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||