If this decimal represents positive or negative infinity
assert( isInfinity(decimal("Inf"))); assert( isInfinity(decimal("-Inf"))); assert(!isInfinity(decimal("NaN"))); assert(!isInfinity(decimal("1.001")));
See Implementation