python logarithm
<p>i want to find out a log10 of an integer in python and i get an error like 
math domain error </p>

<p>my code is this 
w=math.log10(q*q1)/math.log10(2)</p>

<p>where q1,q2 are integers</p>

<p>yeah q1 is 0 sometimes</p>
