isInfinite package:classy-prelude

True if the argument is an IEEE infinity or negative infinity