org.abora.gold.x
Class PrimFloatSpec

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.x.PrimSpec
                    |
                    +--org.abora.gold.x.PrimFloatSpec

public class PrimFloatSpec
extends PrimSpec

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.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
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

myBitCount

protected int myBitCount
Constructor Detail

PrimFloatSpec

public PrimFloatSpec(Category primClass,
                     int bitCount)

PrimFloatSpec

public PrimFloatSpec(Rcvr receiver)
Method Detail

bitCount

public int bitCount()
How many total bits per value


actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class PrimSpec

isEqual

public boolean isEqual(Heaper other)
Description copied from class: Heaper
Return true if the two objects are equal.

Overrides:
isEqual in class Heaper

privateCopy

public PrimArray privateCopy(PrimArray array,
                             int size,
                             int start,
                             int count,
                             int offset)
Make a copy of an array with a different representation size. The arguments are the same
as in PrimArray::copy.

Overrides:
privateCopy in class PrimSpec

array

public PrimArray array(int count)
Make an array initialized to zero values

Overrides:
array in class PrimSpec

arrayFromBuffer

public PrimArray arrayFromBuffer(int count,
                                 VoidStar buffer)
Make an array with the values at the given address

Overrides:
arrayFromBuffer in class PrimSpec

preciseValue

public PrimFloatValue preciseValue(IEEE128 number)
A boxed floating point value from a large precision number


value

public PrimFloatValue value(double number)
A boxed floating point value


precision

public int precision()

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Description copied from class: Heaper
do nothing

Overrides:
sendSelfTo in class PrimSpec

info

public static void info()
{PrimFloat CLIENT} preciseValue: number {IEEE128}
{Int32 CLIENT} precision
{PrimFloat CLIENT} value: number {IEEE64}



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