inf method

FloatingPoint inf({
  1. Logic? sign,
  2. bool negative = false,
})

Construct a FloatingPoint that represents infinity for this FP type.

Implementation

FloatingPoint inf({Logic? sign, bool negative = false}) => FloatingPoint.inf(
    exponentWidth: exponent.width,
    mantissaWidth: mantissa.width,
    sign: sign,
    negative: negative);