`float('NaN')` and `float('Inf')` are now allowed.