Has anybody used bigfloat or mpmath in #Python? I need to raise some floats to power (50+) & currently getting overflow error 34 —ideas? 
-
-
Replying to @o_guest
High powers are always suspect. Can you replace your variables by their logarithms? If you can, it's very probably the best choice.
2 replies 0 retweets 1 like -
The problem is not just overflow, but also precision loss in subsequent operations.
1 reply 0 retweets 1 like -
Replying to @khinsen
I'm using bigfloat though, so technically I think nothing lost.
1 reply 0 retweets 0 likes -
Replying to @o_guest
Bigfloat (Python wrapper for GNU MPFR) has fixed and finite precision. You choose it once and then stick to it.
2 replies 1 retweet 0 likes -
all I need is the code to run and not overflow, then I'll evaluate the solutions.
12:12 PM - 9 Mar 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.