isLessThan static method
Check if a double value is less than the maximum representable value in the specified floating-point format.
Implementation
static bool isLessThan(double value, FloatLength type, [Endian? endian]) {
if (value.isNaN || value.isInfinite) {
return true;
}
final int bits = _toBits(value, endian);
return _dobuleLessThan(bits, type);
}