Hans Viens <[EMAIL PROTECTED]> writes:

> I would like to know if anyone of you know where I could find  a free 
> (commercial and non-commercial) implementation of a Multiprecision Integer 
> and modular arithmetic ?

<shameless plug>

Gwydion Dylan (http://www.gwydiondylan.org) contains a bignum library
as part of the standard distribution. Using bignums in Dylan is as
easy as:

let expected-result = #e1558005952997140033806173725098810522409738596181909282129;

if(#e23 ^ #e42 == expected-result)
  format-out("Bignums work!\n");
else
  format-out("You lose!\n");
end if;

the #e being the syntax for specifying bignum constants (which are
known as <extended-integer> to Dylan).

  <help request>
  This library is still missing a couple of features such as modexp,
  and could use some regression testing. Volounteers wanted.
  </help request>

</shameless plug>

Andreas

-- 
Reality is two's complement. See:
ftp://ftp.netcom.com/pub/hb/hbaker/hakmem/hacks.html#item154

Reply via email to