20 Jul
2007
20 Jul
'07
9:20 p.m.
Here a Java applet: http://www.tiac.net/~sw/DumbFlops/dumbflops.html It's not the same calculation as in Simon's loop-- a multiplication rather than a division. I wrote it in 1999: int i, reps; double x, y; ... for( i = 0; i < reps; i++ ) { x = i; y += x * x; } My 600MHz PPC Mac gets about 40 Million reps/sec, or about 15 clock cycles per rep. Wikipedia says ENIAC it could multiply two 10-digit fixed-point numbers in 14 clock cycles. --Steve