From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA21137; Tue, 3 Jun 2003 16:00:23 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA21148 for ; Tue, 3 Jun 2003 16:00:22 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h53E0LH04009 for ; Tue, 3 Jun 2003 16:00:21 +0200 (MET DST) Received: from di.ens.fr (di.ens.fr [129.199.99.1]) by nef.ens.fr (8.12.9/1.01.28121999) with ESMTP id h53Dxo8M017513 ; Tue, 3 Jun 2003 15:59:50 +0200 (CEST) Received: from basilic.ens.fr (monniaux@basilic [129.199.99.48]) by di.ens.fr (8.12.9/jb-1.1) id h53DxnQI018516 ; Tue, 3 Jun 2003 15:59:49 +0200 (MEST) Received: from localhost (monniaux@localhost) by basilic.ens.fr (8.11.0/jb-1.1) id h53Dxll05395 ; Tue, 3 Jun 2003 15:59:47 +0200 (MEST) X-Authentication-Warning: basilic.ens.fr: monniaux owned process doing -bs Date: Tue, 3 Jun 2003 15:59:47 +0200 (MEST) From: David Monniaux X-Sender: monniaux@basilic.ens.fr To: Richard Jones cc: caml-list@inria.fr Subject: Re: [Caml-list] Miller-Rabin primality test In-Reply-To: <20030603110555.GA7004@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam: no; 0.00; monniaux:01 caml-list:01 mlgmp:01 ocaml:01 ought:01 module:03 wrote:03 builtin:04 l'ecole:04 integers:05 ens:06 www:91 laboratoire:08 david:09 tue:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 3 Jun 2003, Richard Jones wrote: > Assuming I have to write one, is the 'Nat' module the best (ie. most > mature) way to represent natural numbers in Ocaml? Or is there some > other module I ought to be using instead? MLGMP has extended-precision integers and a builtin primality test. Get the latest version from http://www.di.ens.fr/~monniaux/download David Monniaux http://www.di.ens.fr/~monniaux Laboratoire d'informatique de l'École Normale Supérieure, Paris, France ------------------- 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