inf method
Construct a FloatingPoint that represents infinity for this FP type.
Implementation
FloatingPoint inf({Logic? sign, bool negative = false}) {
final value = valuePopulator().ofConstant(supportsInfinities
? (negative
? FloatingPointConstants.negativeInfinity
: FloatingPointConstants.positiveInfinity)
: FloatingPointConstants.largestNormal);
return _constant(value, sign: sign ?? Const(negative));
}