2 comments

[ 3.9 ms ] story [ 16.2 ms ] thread
(comment deleted)
using doubles to find prime numbers is problematic to say the least...but then running a benchmark that only exercises the integer subset of those doubles is malignant if not ignorant

did u try n % i == 0 in the c code?