Re: Question on large integer software

New Message Reply About this list Date view Thread view Subject view Author view

Jay Sulzberger (jays@panix.com)
Thu, 30 Jul 1998 02:26:50 -0400 (EDT)


On Tue, 28 Jul 1998, Mark Tillotson wrote:

> Jay Sulzberger <jays@panix.com> wrote:
> | One of the charming things about most Schemes is that doing
>
> most Schemes and all Common Lisps...
>
>
> You still have to code up useful modulus operations though:

<deleted:
  code and actual i/o >

>
> __Mark
> [ markt@harlequin.co.uk | http://www.harlequin.co.uk/ | +44(0)1954 785433 ]
> [ personal homepage http://utter.chaos.org.uk/~markt/ | fax " " 785444 ]

One of Aubrey Jaffer's pages is

http://www-swiss.ai.mit.edu/~jaffer

which has a link to the page for SLIB, "the portable Scheme library".

To get SLIB set up, you go into one file and tell the SLIB management
system where SLIB is and where your Scheme is. Once set up, you load the
modules, which are just text files of Scheme source, by doing,
for example,

(require 'modular)

which will give you, among other things, the power function.

A call to the power function looks like

(modular:expt m k2 k3)

and returns k2^k3 mod m .

SLIB is indeed standard. I have used it without trouble with four Scheme
interpreter/compilers. The documentation is good.

Jay Sulzberger <jays@panix.com>


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:21:01 ADT