[Python-Dev] Not-a-Number
Robert Kern
robert.kern at gmail.com
Fri Apr 29 04:56:47 CEST 2011
On 4/28/11 8:44 PM, Steven D'Aprano wrote:
> Greg Ewing wrote:
>> Taking a step back from all this, why does Python allow
>> NaNs to arise from computations *at all*?
>
> The real question should be, why does Python treat all NANs as signalling NANs
> instead of quiet NANs? I don't believe this helps anyone.
Actually, Python treats all NaNs as quiet NaNs and never signalling NaNs.
--
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-Dev
mailing list