Re: OverflowError: math range error...

2006-06-23 Thread Sheldon
rray[0,0:4] = > > int(multiply(divide(statistic_array[0,0:4],statistic_array \ > > [0,4]),1.0))/100.0 > > > > Does anyone know why Python is complaining: > > > > "statistic_array[0,0:4] = > > int(multiply(divide(statistic_array[0,0:4],statistic_array

Re: OverflowError: math range error...

2006-06-23 Thread Sheldon
4] = > > int(multiply(divide(statistic_array[0,0:4],statistic_array[0,4]),1.0))/100.0 > > > > OverflowError: math range error" > > > > and how do I get around this problem? This stupid because there is a if > > statement preventing this "dividing by zero". >

Re: OverflowError: math range error...

2006-06-22 Thread Robert Kern
ic_array \ > [0,4]),1.0))/100.0 > > Does anyone know why Python is complaining: > > "statistic_array[0,0:4] = > int(multiply(divide(statistic_array[0,0:4],statistic_array[0,4]),10000.0))/100.0 > > OverflowError: math range error" > > and how do I get

Re: OverflowError: math range error...

2006-06-22 Thread Simon Forman
\ > [0,4]),1.0))/100.0 > > Does anyone know why Python is complaining: > > "statistic_array[0,0:4] = > int(multiply(divide(statistic_array[0,0:4],statistic_array[0,4]),1.0))/100.0 > > OverflowError: math range error" > > and how do I get around thi

OverflowError: math range error...

2006-06-22 Thread Sheldon
hon is complaining: "statistic_array[0,0:4] = int(multiply(divide(statistic_array[0,0:4],statistic_array[0,4]),1.0))/100.0 OverflowError: math range error" and how do I get around this problem? This stupid because there is a if statement preventing this "dividing by zero&quo