English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: bignums?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-08-26 (17:37)
From: Pierre Weis <weis@p...>
Subject: Re: bignums?
> I need an Ocaml multiple precision arithmetic package. I'd like to try
> using an existing interface if possible, to say wrapping
> my own bignums package.

The ``num'' library is distributed with O'Caml; it provides an
efficient multiprecision arithmetics package for integers and rational
numbers. It is well interfaced to the Caml system and well
debugged. If you need rational arithmetics, this package is probably
more convenient (and very often much more efficient) than a usual
rational arithmetics package (such as GMP), since the ``num'' library
gives you the full control over the rational numbers normalisation
strategy that is so important to get efficient computation with
rational numbers.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/