Page 1 of 1

Seuil Benchmark

Unread postPosted: 22 Sep 2023, 05:28
by toml_12953
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]

Re: Seuil Benchmark

Unread postPosted: 22 Sep 2023, 06:49
by critor
Thank you.
HP Prime G1 or G2 ?