title: Handling very small numbers in python
body: <p>I am currently working with very small numbers in my python program, e.g. </p>
  
  <pre><code>x = 200 + 2e-26
  </code></pre>
  
  <p>One solution is to work with logarithmic values which would increase the range of my float value. The problem is that I have to do a fft with these values, too, and therefore using the logarithmic approach is not usable (and using the <code>Decimal</code>-module neither). Is there another way to solve that problem?</p>
  
  <p>Edit: My problem with the <code>decimal</code> module is: How can I handle imaginary values? I tried <code>a = Decimal(1e-26)+Decimal(1e-26*1j)</code> and <code>a = Decimal(1e-26)+Decimal(1e-26)*1j</code>, and both ways failed (error on request).</p>