Index - All Packages - All Categories - All Classes

Class PrimIntValue


Package: Udanax-Gold
All Superclasses: Object Heaper PrimValue
Protocols: Object
Categories: X++ PrimArrays

Class Methods

infostProtocol



Overrides: PrimValue class

make: value



Instance Methods

actualHashForEqual


asBooleanVar

The value as a BooleanVar.

asInt32

The value as a 32 bit signed integer

asIntegerVar

The value as an indefinite precision integer

asUInt32

The value as a 32 bit unsigned integer

asUInt8

The value as a 8 bit unsigned integer

bitCount

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.
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.

bitwiseAnd: another

Return the the first number bitwise and'd with the second.

bitwiseOr: another

Return the the first number bitwise or'd with the second.

bitwiseXor: another

Return the the first number bitwise xor'd with the second.

create: value


createRcvr: receiver


dividedBy: another

Integer divide the two numbers and return the result. This truncates.

isEqual: other


isGE: another

Return true if the first number is greater than or euqla to the second number.

leftShift: another

Return the the first number shifted to the left by the second amount.

maximum: another

Return the largest of the two numbers.

minimum: another

Return the smallest of the two numbers.

minus: another

Return the difference two numbers.

mod: another

Return the the first number modulo the second.

plus: another

Return the sum of two numbers.

precision


printOn: oo



Overrides: Object

sendSelfTo: xmtr


times: another

Multiply the two numbers and return the result.


Index - All Packages - All Categories - All Classes