isAnInfinity property

bool get isAnInfinity

Return true if the represented floating point number is considered infinity or negative infinity

Implementation

bool get isAnInfinity => isExponentAllOnes && isMantissaAllZeroes;