OverflowError: math range error ???

Shagshag13 shagshag13 at yahoo.fr
Fri May 31 13:24:52 EDT 2002


What does it mean "OverflowError: math range error" ???

I get this:

Traceback (most recent call last):
  File "./build_index.py", line 91, in ?
    ii.updateWeight()
  File "./invertedindex.py", line 109, in updateWeight
    idf = ( math.log( (N + 1) / (df + 1) ) / math.log(2) + 1 )
OverflowError: math range error

(ps: i am on Solaris, if this helps)

thanks in advance,

s13.






More information about the Python-list mailing list