title: python - overflow encountered in exp with numpy
body: <p>I am using numpy to do some calculations, and<code>np.exp(1000)</code> keeps getting <code>RuntimeWarning: overflow encountered in exp</code> error. I suppose it's because <code>exp^1000</code> is too big to be stored in float64, but I can't seem to find away around this. I tried long double and floa128(suggested by some answers that I found on stackoverflow, but it doesn't seem to work, because it keeps saying there's no np.float128??)</p>