isZero property

Logic isZero
latefinal

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

Implementation

late final isZero =
    (exponent.eq(floatingPointValue.zero.exponent) & ~mantissa.or())
        .named(_nameJoin('isZero', name), naming: Naming.mergeable);