uncertainties icon indicating copy to clipboard operation
uncertainties copied to clipboard

Would it make sense to have 1±NaN > 0 return False±Nan?

Open lebigot opened this issue 7 years ago • 0 comments
trafficstars

In order to catch more violations of the linear approximation hypothesis that underlies the calculations in the uncertainties module, it would make sense to have 1±NaN > 0 return False±Nan.

Now, this mixes booleans and floats, so this looks a little strange (even though booleans are, in Python, integers). Print formatting routines would probably have to be extended so as to handle this case.

lebigot avatar Jan 13 '18 14:01 lebigot