Message135985
> Therefore making <, >, etc. raise on NaN while keeping the
> status quo for != and == would bring Python floats closer to
> compliance with IEEE 754.
Not so. Either way, Python would be providing exactly 10 of the 22 required IEEE 754 comparison operations (see sections 5.6.1 and 5.11 of IEEE 754-2008 for details). If we wanted to move closer to compliance with IEEE 754, we should be providing all 22 comparisons. |
|
Date |
User |
Action |
Args |
2011-05-14 19:00:19 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, belopolsky, alex, daniel.urban |
2011-05-14 19:00:18 | mark.dickinson | set | messageid: <1305399618.97.0.395224752652.issue11949@psf.upfronthosting.co.za> |
2011-05-14 19:00:18 | mark.dickinson | link | issue11949 messages |
2011-05-14 19:00:18 | mark.dickinson | create | |
|