[Python-ideas] Disallow orderring comparison to NaN

Robert Kern robert.kern at gmail.com
Fri Apr 29 22:23:22 CEST 2011


On 4/29/11 11:39 AM, Alexander Belopolsky wrote:
> On Fri, Apr 29, 2011 at 12:28 PM, Robert Kern<robert.kern at gmail.com>  wrote:
> ..
>> I have said nothing about decimal. I can requote the relevant portions of
>> the IEEE-754 standard again, if you like.
>
> Please do.  I had a draft of IEEE-754 standard somewhere at some
> point, but not anymore.  I rely on Kahan's notes at
> http://www.cs.berkeley.edu/~wkahan/ieee754status/ieee754.ps .

(Section 7. "Exceptions") "The default response to an exception shall be to 
proceed without a trap."

IEEE-854 has the same sentence.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-ideas mailing list