in reply to Re: Prime Number Finder

in thread Prime Number Finder

You only have to check the numbers up toone-halfof the number you are testing...

`s/one-half/square root/;`

After Compline,

Zaxo

In Section
Snippets Section

Re: Re: Prime Number Finder

by Feb 07, 2002 at 11:11 UTC

on
http://www.perlmonks.org?node_id=143848

in reply to Re: Prime Number Finder

in thread Prime Number Finder

You only have to check the numbers up toone-halfof the number you are testing...

`s/one-half/square root/;`

After Compline,

Zaxo

In Section
Snippets Section

Comment onRe: Re: Prime Number Finder