Hi Guys

Someone have a prime number algorithm or function ?

I need a function that is able to identify if a number is prime or not. I looked on the board, but couldn?t find any specific algo or function for that.

Someone have it ?

Best Regards,

Posted on 2006-11-06 10:31:09 by Beyond2000!
Posted on 2006-11-06 11:30:47 by Dite
Composite tester for a dword value,
no input routine provided,
the value is in an initialized dword.

It will correctly tell if
under range, composite, prime, not determined.
Posted on 2006-11-06 19:20:25 by dsouza123