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 …
-
-
>>> 2.**1000 1.0715086071862673e+301 still works; >>> 2**100000 will work too (non-float, but int)
-
the base is always below 1 and the power is around 50
-
so the base can't be integer
-
(1/100)**10000=1/(100**10000)
-
a numerical algorithm that does x->x**50 sounds dodgy. log(x)->50*log(x) would make more sense.
End of conversation
New conversation -
-
-
why do you need such an insane precision in this setting?
-
I don't. Python was crashing though.
End of conversation
New conversation -
-
-
you compute weights of some objects for ranking. These that have wt 10^(-100) smaller than others can just as well get wt 0.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.

