* bignums?
@ 1999-08-24 3:19 John Skaller
1999-08-26 17:28 ` bignums? Pierre Weis
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: John Skaller @ 1999-08-24 3:19 UTC (permalink / raw)
To: caml-list
In the Caml Hump, the interface to GMP is linked to:
http://www.eleves.ens.fr:8080/~monniaux/programmes.html.en
but I am unable to retrieve this page. 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. Does anyone have a working link
to the above interface, or a copy of it? Is it any good?
(last time I tried, I couldn't build GMP on my linux box
correctly -- I know my own C code works, but GMP might be
faster).
-------------------------------------------------------
John Skaller email: skaller@maxtal.com.au
http://www.maxtal.com.au/~skaller
phone: 61-2-96600850
snail: 10/1 Toxteth Rd, Glebe NSW 2037, Australia
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-24 3:19 bignums? John Skaller
@ 1999-08-26 17:28 ` Pierre Weis
1999-08-27 4:33 ` bignums? John Skaller
1999-08-26 17:51 ` bignums? Matías Giovannini
` (3 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Pierre Weis @ 1999-08-26 17:28 UTC (permalink / raw)
To: John Skaller; +Cc: caml-list
> 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-24 3:19 bignums? John Skaller
1999-08-26 17:28 ` bignums? Pierre Weis
@ 1999-08-26 17:51 ` Matías Giovannini
1999-08-27 9:16 ` bignums? Jean-Christophe Filliatre
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Matías Giovannini @ 1999-08-26 17:51 UTC (permalink / raw)
To: John Skaller; +Cc: caml-list
John Skaller wrote:
> I need an Ocaml multiple precision arithmetic package.
> I'd like to try using an existing interface if possible,
Why not use Ocaml's own Bigints, or Nats if you need all the speed the
low-level implemetation gives you? You may need to link a special
top-level with libnums.a.
As far as I know, Ocaml's underlying implementation is faster than GMP,
older, stabler and more complete.
--
I got your message. I couldn't read it. It was a cryptogram.
-- Laurie Anderson
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-26 17:28 ` bignums? Pierre Weis
@ 1999-08-27 4:33 ` John Skaller
0 siblings, 0 replies; 7+ messages in thread
From: John Skaller @ 1999-08-27 4:33 UTC (permalink / raw)
To: Pierre Weis; +Cc: caml-list
At 19:28 26/08/99 +0200, Pierre Weis wrote:
>> 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;
Argghhhh :-)
My apologies, somehow I missed the num library,
which is plainly there in the standard documentation.
[Note: the URL given in the doco for the Technical
Report is not quite correct. The TR is very nice,
although it exhibits code from an old version of
caml]
-------------------------------------------------------
John Skaller email: skaller@maxtal.com.au
http://www.maxtal.com.au/~skaller
phone: 61-2-96600850
snail: 10/1 Toxteth Rd, Glebe NSW 2037, Australia
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-24 3:19 bignums? John Skaller
1999-08-26 17:28 ` bignums? Pierre Weis
1999-08-26 17:51 ` bignums? Matías Giovannini
@ 1999-08-27 9:16 ` Jean-Christophe Filliatre
1999-08-29 15:16 ` bignums? Daniel de Rauglaudre
1999-09-01 16:59 ` bignums? David Monniaux
4 siblings, 0 replies; 7+ messages in thread
From: Jean-Christophe Filliatre @ 1999-08-27 9:16 UTC (permalink / raw)
To: John Skaller; +Cc: caml-list
I've got a copy of mlgmp, which is here:
http://www.lri.fr/~filliatr/pub/mlgmp_0.13.tar.gz
I recently used it with a friend of mine to compute huge Fibonacci
numbers, and it was quite more efficient than bignum (on that
problem).
Best regards,
--
Jean-Christophe FILLIATRE
mailto:Jean-Christophe.Filliatre@lri.fr
http://www.lri.fr/~filliatr
> In the Caml Hump, the interface to GMP is linked to:
>
> http://www.eleves.ens.fr:8080/~monniaux/programmes.html.en
>
> but I am unable to retrieve this page. 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. Does anyone have a working link
> to the above interface, or a copy of it? Is it any good?
>
> (last time I tried, I couldn't build GMP on my linux box
> correctly -- I know my own C code works, but GMP might be
> faster).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-24 3:19 bignums? John Skaller
` (2 preceding siblings ...)
1999-08-27 9:16 ` bignums? Jean-Christophe Filliatre
@ 1999-08-29 15:16 ` Daniel de Rauglaudre
1999-09-01 16:59 ` bignums? David Monniaux
4 siblings, 0 replies; 7+ messages in thread
From: Daniel de Rauglaudre @ 1999-08-29 15:16 UTC (permalink / raw)
To: John Skaller, caml-list
> In the Caml Hump, the interface to GMP is linked to:
>
> http://www.eleves.ens.fr:8080/~monniaux/programmes.html.en
>
> but I am unable to retrieve this page.
Sorry. I could not find the right page either. Try to ask David Monniaux
by searching his Email address on the Web.
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bignums?
1999-08-24 3:19 bignums? John Skaller
` (3 preceding siblings ...)
1999-08-29 15:16 ` bignums? Daniel de Rauglaudre
@ 1999-09-01 16:59 ` David Monniaux
4 siblings, 0 replies; 7+ messages in thread
From: David Monniaux @ 1999-09-01 16:59 UTC (permalink / raw)
To: John Skaller; +Cc: caml-list
On Tue, 24 Aug 1999, John Skaller wrote:
> In the Caml Hump, the interface to GMP is linked to:
>
> http://www.eleves.ens.fr:8080/~monniaux/programmes.html.en
This page has been moved to
http://www.di.ens.fr/~monniaux/programmes.html.en
Sorry for the inconvenience.
---
David Monniaux Tel: +33 1 44 32 20 66 Fax: +33 1 44 32 20 80
Laboratoire d'informatique de l'École Normale Supérieure,
45 rue d'Ulm - 75230 PARIS cedex 5 - FRANCE
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-09-03 16:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-24 3:19 bignums? John Skaller
1999-08-26 17:28 ` bignums? Pierre Weis
1999-08-27 4:33 ` bignums? John Skaller
1999-08-26 17:51 ` bignums? Matías Giovannini
1999-08-27 9:16 ` bignums? Jean-Christophe Filliatre
1999-08-29 15:16 ` bignums? Daniel de Rauglaudre
1999-09-01 16:59 ` bignums? David Monniaux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox