Thread View: sci.crypt
6 messages
6 total messages
Started by Darrell Long
Sun, 05 Feb 1989 02:35
Arbitrary precision integer arithmetic (reference sought)
Author: Darrell Long
Date: Sun, 05 Feb 1989 02:35
Date: Sun, 05 Feb 1989 02:35
8 lines
814 bytes
814 bytes
I'm looking for a good reference on algorithms for arbitrary precision integer arithmetic. I need to do it fast, so naive (elementary school) algorithms won't quite do it. If you have a good reference, or perhaps source code (C prefered), I will be grateful if you will send it to me. Thanks, DL
Re: Arbitrary precision integer arithmetic (reference sought)
Author: Doug Gwyn
Date: Sun, 05 Feb 1989 12:00
Date: Sun, 05 Feb 1989 12:00
6 lines
782 bytes
782 bytes
In article <6235@saturn.ucsc.edu> darrell@jupiter.ucsc.edu (Darrell Long) writes: -I'm looking for a good reference on algorithms for arbitrary precision integer -arithmetic. I need to do it fast, so naive (elementary school) algorithms -won't quite do it. So what's wrong with the ones in Knuth?
Re: Arbitrary precision integer arithmetic (reference sought)
Author: Andy Behrens
Date: Sun, 05 Feb 1989 22:41
Date: Sun, 05 Feb 1989 22:41
24 lines
1313 bytes
1313 bytes
In article <6235@saturn.ucsc.edu> Darrell Long writes:
-I'm looking for a good reference on algorithms for arbitrary precision integer
-arithmetic. I need to do it fast, so naive (elementary school) algorithms
-won't quite do it.
I'll second Doug Gwyn's recommendation. Knuth's book will teach you
as much about computer arithmetic as you are ever likely to need. The
book in question is:
Donald Knuth
The Art of Computer Programming
Volume 2: Seminumerical Algorithms
(Addison-Wesley Publishing)
--
Live justly, love gently, walk humbly.
Andy Behrens
andyb@coat.uucp
internet: andyb%coat@dartmouth.edu
uucp: {harvard,decvax}!dartvax!coat!andyb
Burlington Coat, PO Box 729, Lebanon, N.H. 03766 (603) 448-5000
Re: Arbitrary precision integer arithmetic (reference sought)
Author: Piet van Oostrum
Date: Mon, 06 Feb 1989 13:29
Date: Mon, 06 Feb 1989 13:29
14 lines
1349 bytes
1349 bytes
In article <6235@saturn.ucsc.edu>, darrell@jupiter (Darrell Long) writes: `I'm looking for a good reference on algorithms for arbitrary precision integer `arithmetic. I need to do it fast, so naive (elementary school) algorithms `won't quite do it. ` `If you have a good reference, or perhaps source code (C prefered), I will be `grateful if you will send it to me. ` For source, you can look into MIT C-scheme, or GNU g++ lib, if you obey the copyright (-left) conditions. -- Piet van Oostrum, Dept of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)
Re: Arbitrary precision integer arithmetic (reference sought)
Author: Herman Rubin
Date: Tue, 07 Feb 1989 17:20
Date: Tue, 07 Feb 1989 17:20
29 lines
1862 bytes
1862 bytes
In article <12099@dartvax.Dartmouth.EDU>, andyb@coat.uucp (Andy Behrens) writes: > > In article <6235@saturn.ucsc.edu> Darrell Long writes: > -I'm looking for a good reference on algorithms for arbitrary precision integer > -arithmetic. I need to do it fast, so naive (elementary school) algorithms > -won't quite do it. > > I'll second Doug Gwyn's recommendation. Knuth's book will teach you > as much about computer arithmetic as you are ever likely to need. The > book in question is: < < Donald Knuth < The Art of Computer Programming < Volume 2: Seminumerical Algorithms < (Addison-Wesley Publishing) Unless you have really long numbers, you are not likely to gain too much from the fancy algorithms. I also do not believe that Knuth has the asymptotically fastest known algorithms using the discrete FFT over finite rings. But you are likely to gain a great deal by using the machine instructions unavailable when using any of the HLLs. This is the case whether or not a fancy algorithm is used, and is probably more important if the FFT or Toom-Cook or other non-elementary algorithm is used. -- Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907 Phone: (317)494-6054 hrubin@l.cc.purdue.edu (Internet, bitnet, UUCP)
Re: Arbitrary precision integer arithmetic (reference sought)
Author: Bruce Becker
Date: Tue, 07 Feb 1989 20:07
Date: Tue, 07 Feb 1989 20:07
15 lines
844 bytes
844 bytes
In article <12099@dartvax.Dartmouth.EDU> andyb%coat@dartmouth.edu writes: +----------------- | In article <6235@saturn.ucsc.edu> Darrell Long writes: | [...] | | Donald Knuth | The Art of Computer Programming | Volume 2: Seminumerical Algorithms | (Addison-Wesley Publishing) | +----------------- Would anyone have a used copy of this book for sale? Thanks,
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads