isAZero property

Logic isAZero
latefinal

Return a Logic 1 if this FloatingPoint is a zero by having its exponent field set to the NaN value (typically all ones) and a zero mantissa.

Implementation

late final isAZero = (exponent.isIn([
          valuePopulator().positiveZero.exponent,
          valuePopulator().negativeZero.exponent,
        ]) &
        ~mantissa.or())
    .named(_nameJoin('isAZero', name), naming: Naming.mergeable);