FloatingPointUtilities class abstract
A utility class for floating point operations.
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
sort<
FpType extends FloatingPoint> ((FpType, FpType) toSort) → (FpType, FpType) - Sort two FloatingPoints and swap them if necessary so that the larger of the two is the first element in the returned tuple.
-
swap<
FpType extends FloatingPoint> (Logic swap, (FpType, FpType) toSwap) → (FpType, FpType) -
Swap two FloatingPoint structures based on a conditional
swap
.