Closed lebigot closed 5 years ago
math.inf is not "the largest number" (which sounds like it's the maximum finite float, sys.float_info.max): it is instead precisely the representation of infinity as a float.
math.inf is not "the largest number" (which sounds like it's the maximum finite float, sys.float_info.max): it is instead precisely the representation of infinity as a float.