Re: NaN handling
"Felipe Almeida Lessa" <felipe.lessa@g mail.com> wrote in message
news:1146929327 .30335.5.camel@ kenshin.CASA...[color=blue]
> This works everywhere:
>
> nan = float('nan')[/color]
Not.
[color=blue][color=green][color=darkred]
>>> nan = float('nan')[/color][/color][/color]
Traceback (most recent call last):
File "<pyshell#4 >", line 1, in -toplevel-
nan = float('nan')
ValueError: invalid literal for float(): nan
Above is Windows, which requires something else.
tjr
"Felipe Almeida Lessa" <felipe.lessa@g mail.com> wrote in message
news:1146929327 .30335.5.camel@ kenshin.CASA...[color=blue]
> This works everywhere:
>
> nan = float('nan')[/color]
Not.
[color=blue][color=green][color=darkred]
>>> nan = float('nan')[/color][/color][/color]
Traceback (most recent call last):
File "<pyshell#4 >", line 1, in -toplevel-
nan = float('nan')
ValueError: invalid literal for float(): nan
Above is Windows, which requires something else.
tjr
Comment