title: Power of a decimal number producing OverflowError
body: <p>I have a function that returns <strong>log10</strong> values. On converting them to normal numbers, I obtain an overflow error. </p>
  
  <blockquote>
    <p>OverflowError: (34, 'Numerical result out of range')</p>
  </blockquote>
  
  <p>I checked the log values and this error occurs for say, <strong>508.038057662</strong>.</p>
  
  <p>I reckon that while python easily performs <strong>10**509</strong>, this error must be due to the decimal points overflowing the register. Therefore I tried using numpy.float64 like such,</p>
  
  <pre><code>result = np.array([ (10**multiplicity(timeseries,om,ph,bins,pos_arr)) for ph in np.linspace(0,twopi,num = bins+1)], dtype = np.float64)
  </code></pre>
  
  <p>The error is the same. Am I declaring the <strong>float64</strong> wrong??</p>
  
  <p>Here <em>multiplicity()</em> is the function that returns <strong>log10</strong> values. I require a "list" of values. </p>