Hello, Andi.
AV> On Tue, 12 Sep 2006, Yura Smolsky wrote:
>> AV> In python, to create a float with negative infinity you say:
>> float('-inf')
>>
>> so I need to recreate this value?
AV> I'm not sure I understand your question.
seems like float('-inf') does not work on windows
D:\work\Python24\Lib\site-packages>python
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> float('-inf')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): -inf
:(
--
Yura Smolsky,
http://altervisionmedia.com/
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev