This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients alex, belopolsky, daniel.urban, mark.dickinson, rhettinger
Date 2011-05-21.19:36:07
SpamBayes Score 4.9460436e-14
Marked as misclassified No
Message-id <BANLkTinPm=q=OkFyta_S-6ObS4-bqzWDBA@mail.gmail.com>
In-reply-to <1306005488.04.0.890149510076.issue11949@psf.upfronthosting.co.za>
Content
On Sat, May 21, 2011 at 3:18 PM, Mark Dickinson <report@bugs.python.org> wrote:
>
> Mark Dickinson <dickinsm@gmail.com> added the comment:
>
>> Table 5.2 referenced above lists 10 operations, four of which (>, <,
>> >=, and <=) are given spellings that are identical to the spellings of
>> Python comparison operators.
>
> Yep, those are included amongst the "various ad-hoc and traditional names and symbols".  So what?
>  It's still the case that IEEE 754 gives no requirement (or even recommendation) for how either of
> 'compareQuietLess' or 'compareSignalingLess' should be spelt in any particular language.

IEEE 754 is not a standard that is directly applicable to the design
of programming languages.  For example, it is completely silent on the
issue of which operations should be implemented as infix operators and
which as functions.  Still, to the extent it is appropriate for IEEE
754 to say so, I think it says that '<' is 'compareSignalingLess'.

IEEE 754 can only be a guide for language design and not a
specification.  However, the decimal module, which was explicitly
designed for IEEE 754 compliance, makes order comparison operators
signaling.  What is the reason to make them quiet for floats other
than backward compatibility?  Note that backward compatibility is
likely not to be an issue if we make nan comparisons generate a
warning (possibly even off by default) rather than error.
History
Date User Action Args
2011-05-21 19:36:08belopolskysetrecipients: + belopolsky, rhettinger, mark.dickinson, alex, daniel.urban
2011-05-21 19:36:07belopolskylinkissue11949 messages
2011-05-21 19:36:07belopolskycreate