Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A different and better way to find prime numbers
#12
Quote:
Moneo Wrote:Not quite.
I set up a test with the number DIMed as DOUBLE. When the input number was equal to 2,147,483,647 an overflow error was issued.
*****
Hehe. . . QB gives an example using 19 MOD 6.7 = 5. I assumed DOUBLEs could be used then.
Yes, you can use DOUBLEs, but they can only go up to the limit of a LONG.
*****
Reply


Messages In This Thread
A different and better way to find prime numbers - by Moneo - 09-18-2005, 12:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)