IntegerSignMode class Null safety

Inheritance

Properties

annunciatorText String
read-onlyinherited
doesSignExtension bool
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
statusText String
Text for the annunciator on the LCD display, if we're showing it.
read-only

Methods

compare(NumStatus m, Value x, Value y) int
override
fromBigInt(BigInt v, NumStatus status) Value
increment(NumStatus m, Value valueI, int by) Value
Increment a number by 1 or -1. It's convenient to do this here, because the DSZ and ISZ instructions work in both float and integer mode. //
override
intAdd(Model<ProgramOperation> m) → void
intSubtract(Model<ProgramOperation> m) → void
isZero(NumStatus m, Value value) bool
inherited
maxValue(NumStatus m) BigInt
minValue(NumStatus m) BigInt
negate(Value v, Model<ProgramOperation> m) Value
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toBigInt(Value v, NumStatus m) BigInt
Interpret v as an integer according to the sign mode and the model's word size, and return the result as a BigInt.
toJson() String
toString() String
A string representation of this object.
inherited
valueToLabel(Value v, Model<ProgramOperation> m) int
Translate value to an int that could be a label, without any range checks to see if it's a valid label. Always returns a non-negative int.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(String val) IntegerSignMode