Adder class Adding numbers
Creates a full precision adder for IEEE 754 floating point numbers, setting its initial value to 0.
Constructors
- Adder()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
double x) → void - Adds the specified number to the adder’s current value.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueOf(
) → double - Returns the IEEE 754 double precision representation of the adder’s current value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited