org.abora.gold.x
Class PrimIEEE64

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.x.PrimValue
                    |
                    +--org.abora.gold.x.PrimFloatValue
                          |
                          +--org.abora.gold.x.PrimIEEE64

public class PrimIEEE64
extends PrimFloatValue

A boxed representation of an IEEE 64-bit floating point value


Field Summary
protected  double myValue
           
 
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
PrimIEEE64(double value)
           
PrimIEEE64(Rcvr receiver)
           
 
Method Summary
 int actualHashForEqual()
           
 IEEE128 asIEEE128()
          The value as an IEEE 128-bit floating point number.
May not be possible if conversion from subclass to IEEE type is not available.
 float asIEEE32()
          The value as an IEEE 32-bit floating point number
 double asIEEE64()
          The value as an IEEE 64-bit floating point number
 int bitCount()
          What precision is it, in terms of the number of bits used to represent it.
 IntegerVar exponent()
          If this is a number, return the exponent
 boolean isANumber()
          Return TRUE if value represents a number.
 boolean isEqual(Heaper other)
          Return true if the two objects are equal.
static Heaper make(double value)
           
 IntegerVar mantissa()
          If this is a number, return the signed mantissa
 void sendSelfTo(Xmtr xmtr)
          do nothing
 
Methods inherited from class org.abora.gold.x.PrimFloatValue
info, isNumber, precision
 
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, linkTimeNonInherited, 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

myValue

protected double myValue
Constructor Detail

PrimIEEE64

public PrimIEEE64(double value)

PrimIEEE64

public PrimIEEE64(Rcvr receiver)
Method Detail

actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class Heaper

isEqual

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

Overrides:
isEqual in class Heaper

asIEEE128

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

Overrides:
asIEEE128 in class PrimFloatValue

asIEEE32

public float asIEEE32()
The value as an IEEE 32-bit floating point number

Overrides:
asIEEE32 in class PrimFloatValue

asIEEE64

public double asIEEE64()
The value as an IEEE 64-bit floating point number

Overrides:
asIEEE64 in class PrimFloatValue

bitCount

public int bitCount()
Description copied from class: PrimFloatValue
What precision is it, in terms of the number of bits used to represent it. In the
interests of efficiency, this may return a number larger than that *needed* to represent
it. However, the precision reported must be at least that needed to represent this
number. It is assumed that the format of the number satisfies the IEEE radix independent
floating point spec. Should we represent real numbers other that those representable in
IEEE, the meaning of this message will be more fully specified.
The fact that this message is allowed to overestimate precision doesn't interfere with
equality: a->isEqual(b) exactly when they represent that same real number, even if one of
them happens to overestimate precision more that the other.

Overrides:
bitCount in class PrimFloatValue

exponent

public IntegerVar exponent()
If this is a number, return the exponent

Overrides:
exponent in class PrimFloatValue

isANumber

public boolean isANumber()
Description copied from class: PrimFloatValue
Return TRUE if value represents a number.

Overrides:
isANumber in class PrimFloatValue

mantissa

public IntegerVar mantissa()
Description copied from class: PrimFloatValue
If this is a number, return the signed mantissa

Overrides:
mantissa in class PrimFloatValue

sendSelfTo

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

Overrides:
sendSelfTo in class PrimFloatValue

make

public static Heaper make(double value)


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