From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 10 January 2006 23:42
To: David Nicol
Cc: [email protected]
Subject: Re: Regular Expression question w/ long numbers


> Thanks for the feedback.  I am studying prime factorization of very
large numbers.  In particular, I am working > on tests that work in the
inverse of prime factorization.  In that, I mean that I am actually
testing for
> composite numbers.
>  
> What is quicker; to determine if a number is prime or composite?  I
need an extreme level of precision because > rounding invalidates the
protocols within which I can correctly calculate.
>  
> I'm using Perl because I can look at a number as a string, parse it at
different points and more easily explore > a variey of number theories.

If you haven't looked already, I would suggest searching CPAN for useful
modules. See http://search.cpan.org.

For example, a search for "prime factorization" produced a list starting
with Math::Big::Factors.

HTH

-- 
Brian Raven



=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to