isInfinite package:logfloat

Return true for both infinity and negativeInfinity, false for all other values.