FloatingPointUtilities class abstract

A utility class for floating point operations.

Constructors

FloatingPointUtilities.new()

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) → ({Logic didSwap, (FpType, FpType) sorted})
Sort two FloatingPoints and swap them if necessary so that the larger of the two is the first element in the returned tuple.
sortByExp<FpType extends FloatingPoint>((FpType, FpType) toSort) → ({Logic didSwap, (FpType, FpType) sorted})
Sort two FloatingPoints and swap them if necessary so that the one the larger exponent is the first element in the returned tuple.