On Mon, 2004-05-10 at 08:53, Stefano Zacchiroli wrote: > -- Numerix is my baby, so I'll let other users say if it has merits. > Same schemeas GMP (choose a suitable algorithm depending on the sizes > of the inputs), without the double-GC problem. The drawback is > portability : works on x86/Linux. I just ran the examples on x86, sparc, and powerpc and they all gave identical output. Its only the "slong" module that contains x86 assembly, so all of the other modules are okay. The numerix library is laid out such that you pick which backend implementation to use: module Big : Int_type (* bigints de Ocaml *) module Slong : Int_type (* longints assembleur *) module Clong : Int_type (* longints C *) module Dlong : Int_type (* longints C double pr<E9>cision *) module Gmp : Int_type (* bigints de Gmp *) so, as I understand it, any code which explicitly uses the Slong module, won't work on other archs, but this could be changed trivially so that it uses one of the other backends. -- Mike Furr <mfurr@debian.org> 1024D/124B26F3 5B9F 587F BC5C D823 50CE 4DB0 ED93 CA29 124B 26F3
Attachment:
signature.asc
Description: This is a digitally signed message part