title: Python exponent operator and complex numbers
body: <p>Why does python does <code>print(type(-1**0.5))</code> return <code>float</code> instead of <code>complex</code>?</p>
  
  <p>Getting the square root of negative integer of float always mathematically consider as complex numbers. How does python exponent operator support to get <code>complex</code> number?</p>
  
  <pre><code>print(type(-1**0.5))
   &lt;type 'float'&gt;    
  </code></pre>