Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recall the small dot-c text file that was passed around, that contained his sequence of tests for float integrity on a portable C compiler and architecture. It was a gold-standard at the time.



Wow! It went down from over 2000 seconds to less than half a second, as HW improved. And the last test was ran on a Pentium 4. I wonder what are the results on today's HW.


No need to wonder. You can run it. https://www.fourmilab.ch/fbench/


OK, tested the C version on my Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz and following the instructions

> Measured run time in seconds should be divided by 400000 to normalise for reporting results. For archival results, adjust iteration count so the benchmark runs about five minutes.

so it ran for 246 seconds (almost 5 minutes) and the normalized result is:

0.000617025


It was also ported to a number of languages and used as a benchmark.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: