where in Nan defined

Marko Rauhamaa marko at pacujo.net
Thu Jan 8 15:37:12 CET 2015


Ian Kelly <ian.g.kelly at gmail.com>:

> To get nan as a literal just do:
>
>     nan = float("nan")

True, but that got me thinking: what standard Python math operation
evaluates to NaN?


Marko



More information about the Python-list mailing list