float.IsPositiveInfinity()

Determines whether the float evaluates to positive infinity.