List Info

Thread: NEW: math/p5-Math-Prime-XS




NEW: math/p5-Math-Prime-XS
user name
2006-03-26 13:36:29
Jasper Lievisse Adriaanse [2006-03-25, 15:28:59]:
> DESCR: Math::Prime::XS calculates/detects prime numbers
by either applying
> Modulo operator division, the Sieve of Eratosthenes,
Trial division or a
> Summing calculation.
> 
> Tested on alpha, i386 and sgi.
> 
> Port is attached and at
> http://nedbsd.nl/~jasper/obsd/ports/p5-Math-Prime-XS.tgz

> 
> Please test and comment.

the following gives me a SIGSEGV. the backtrace points to
XS.xs line 93.

use Math::Prime::XS qw(primes is_prime);
allprimes = primes(1e6);

steven

Disclaimer: http
://www.kuleuven.be/cwis/email_disclaimer.htm

NEW: math/p5-Math-Prime-XS
user name
2006-03-26 14:25:35
On Sun, 26 Mar 2006 15:36:29 +0200
steven mestdagh <steven.mestdaghesat.kuleuven.be> wrote:

> Jasper Lievisse Adriaanse [2006-03-25, 15:28:59]:
> > DESCR: Math::Prime::XS calculates/detects prime
numbers by either applying
> > Modulo operator division, the Sieve of
Eratosthenes, Trial division or a
> > Summing calculation.
> > 
> > Tested on alpha, i386 and sgi.
> > 
> > Port is attached and at
> > http://nedbsd.nl/~jasper/obsd/ports/p5-Math-Prime-XS.tgz

> > 
> > Please test and comment.
> 
> the following gives me a SIGSEGV. the backtrace points
to XS.xs line 93.
> 
> use Math::Prime::XS qw(primes is_prime);
> allprimes = primes(1e6);
i see that yes. this does work though:
allprimes = primes(1e5);

i'll have a more closer look at it.

> 
> steven
jasper

> 
> Disclaimer: http
://www.kuleuven.be/cwis/email_disclaimer.htm
> 


-- 
Humppa is a serious thing!
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )