Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 188 Bytes
# Build a list of n
import time
import cdecimal
from random import random, randint
n = 1000000000
s = 0.0
start = time.time()
for x in xrange(1, m):
s += decimal.Decimal(random())