Better testing through Google [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Fri 2009-12-04 09:21
Better testing through Google
LinkReply
[personal profile] pm215Fri 2009-12-04 09:47
mnementh$ primes 1 > /tmp/zz9.primes
mnementh$ md5sum /tmp/zz9.primes 
037a526651ff4d6babb3b1a23bb83097  /tmp/zz9.primes
...right?

(That's the standard BSD primes(6). 2^32-1 is as high as it will go, so it's only just good enough for this job...)

Link Reply to this | Thread
[personal profile] simontFri 2009-12-04 09:53
That's the one – turns up the same single Google hit as I got.

I only found out about primes(6) after I wrote mine. But I made sure mine did go higher than 2^32, even if I didn't ask it to on this occasion...
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]