Wednesday, August 11, 2004
Factoring Benchmarks
Some fun things to do if you have Pari/GP installed.
echo "print(factorint(fibonacci(990)))" | /usr/bin/time gp
for(i=1, 100000, print("The factors of (10^50)+", i, " are"); print(factor(10^50+i)," time=", gettime()/60000.0, " minutes"))
Feel free to replace 10^50 with 10^60 or 10^70.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment