Xref: utzoo comp.unix.questions:18518 comp.sources.wanted:9857 sci.math:9029 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!mips!apple!vsi1!octopus!sjsumcs!horstman From: horstman@sjsumcs.sjsu.edu (Cay Horstmann) Newsgroups: comp.unix.questions,comp.sources.wanted,sci.math Subject: Re: Multi Precision Math Message-ID: <1989Dec19.040647.1575@sjsumcs.sjsu.edu> Date: 19 Dec 89 04:06:47 GMT References: <1989Dec18.051009.1313@usenet.ins.cwru.edu> Reply-To: horstman@sjsumcs.SJSU.EDU (Cay Horstmann) Organization: San Jose State University Lines: 23 In article <1989Dec18.051009.1313@usenet.ins.cwru.edu> mitch@alpha.ces.cwru.edu (Mitchell N. Perilstein) writes: >Does anyone know about a multiple precision arithmetic library? Yea, I've >got `mp', but something more flexible and better documented is required. >Wasn't it in mod.sources ages back? > >Thanks in advance for your reply. >Mitch There is a very nice library in T.Hansen, "C++ Answer Book", Addison-Wesley 1990 (!) C++ is really nice for that kind of stuff because of the operator overloading. It is a lot more fun to write Bignum x,y; ... x+y than bignum_add( x, y ). I wrote some code to deal with polynomials over finite fields and, since one can overload the () operator, it even makes sense to write Poly f; Elem a; ... f(a)... Cay