Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Miller-Rabin primality test
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michel Quercia <michel.quercia@p...>
Subject: Re: [Caml-list] Miller-Rabin primality test
Le Tue, 3 Jun 2003 18:05:51 +0100 Richard Jones <rich@annexia.org>
écrivit:

> Be cool if you could include some of the simpler standard number
> theory tests, such as primality testing, in your library.

I intend to call for suggestions when the new version will be usable, before the actual release time. However there is something that I don't like about the Rabin-Miller compositeness test : the output is not well defined from a mathematical viewpoint as it depends on a random sequence of bases. I'd prefer a test that returns reproducible results, perhaps by hard-coding the sequence of bases, or letting the user provide them.

Stay tuned ...
-- 
Michel Quercia
23 rue de Montchapet, 21000 Dijon
http://michel.quercia.free.fr (maths)
http://pauillac.inria.fr/~quercia (informatique)
mailto:michel.quercia@prepas.org

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners