Seuil Benchmark
Posted: 22 Sep 2023, 05:28
Numworks N0120 runs the Seuil benchmark in 0.197 seconds (d = 0.008) making it faster than the HP Prime for that particular program.
- Code: Select all
from time import *
def seuil(d):
t = monotonic()
n = 0
u = 2.
d = d**2
while (u-1)**2 >= d:
u = 1 + 1/((1-u) * (n+1))
n = n + 1
t = monotonic()-t
print("Time: {:.3f} seconds".format(t))
return [n, u]