I use random.uniform(1,2**100)
to produce random floats to the range (0,2**100)
. Some results are :
>>> random.uniform(1,2**100)
5.9798650563331964e+29
>>> random.uniform(1,2**100)
8.439133849811236e+29
>>> random.uniform(1,2**100)
1.1367823572756921e+30
>>> random.uniform(1,2**100)
6.467828850316163e+29
>>> random.uniform(1,2**100)
6.114089228136624e+29
>>> random.uniform(1,2**100)
5.8262139039159224e+29
I can't get the interpretation of e+29
at the end of each number.
It's know as E notation, which is plain text representation of scientific notation.
1.234e+56
means 1.234 * 10**56
or in more human readable form 1.234 × 1056.
"e+number" means 10 to the power of a positive number, in case of a negative number it would be like "e-number".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With