infinity
Gregor Lingl
glingl at aon.at
Wed Oct 9 16:31:42 EDT 2002
Klaus Alexander Seistrup schrieb:
> Gregor Lingl wrote:
>
>
>>Is there a token or a name to input
>>this strange float object,
>> __repr__esented by 1.0#INF
>>directly?
>
>
> float('inf') or float('-inf') works for me.
>
but definitely not for me!!!
>>> float('inf')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
float('inf')
ValueError: invalid literal for float(): inf
>>>
???
Gregor
> // Klaus
>
More information about the Python-list
mailing list