Is nan in (nan,) correct?

Grant Edwards invalid at invalid.invalid
Fri Mar 6 10:34:30 EST 2015


On 2015-03-06, Chris Angelico <rosuav at gmail.com> wrote:
> On Fri, Mar 6, 2015 at 8:50 PM, Rustom Mody <rustompmody at gmail.com> wrote:
>> In a language like python with decent exceptions we do not need nans.
>
> Not so. I could perhaps accept that we don't need signalling NaNs, as
> they can be replaced with exceptions, but quiet NaNs are by definition
> _not_ exceptions.

And quiet NaNs are very, very useful.

-- 
Grant Edwards               grant.b.edwards        Yow! A can of ASPARAGUS,
                                  at               73 pigeons, some LIVE ammo,
                              gmail.com            and a FROZEN DAQUIRI!!



More information about the Python-list mailing list