Would super appreciate help on this. I need to raise numbers to huge power (50+) & Python understandably overflows. Documentation is bad.
https://twitter.com/o_guest/status/839918241363410945 …
-
-
Replying to @o_guest
Hmmm looks like I got it working with BigFloat — advice still appreciated though.
1 reply 0 retweets 0 likes -
Replying to @o_guest
you could also try http://fredrikj.net/python-flint/ We at
@sagemath do this kind of stuff all the time, btw. What exactly is the problem?1 reply 0 retweets 1 like -
overflow
1 reply 0 retweets 0 likes -
Replying to @o_guest
sure, but is it a 1-off computation? or something massive, like doing linear algebra in this precision?
1 reply 0 retweets 1 like -
-
Replying to @o_guest
need to do extended precision is always a bit suspect in that kind of setting - you approximate something. and no rounding?
1 reply 0 retweets 0 likes -
-
Replying to @o_guest
>>> 2.**1000 1.0715086071862673e+301 still works; >>> 2**100000 will work too (non-float, but int)
1 reply 0 retweets 0 likes
the base is always below 1 and the power is around 50
-
-
so the base can't be integer
1 reply 0 retweets 0 likes - 3 more replies
New conversation -
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.
