home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / 15456 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.4 KB  |  46 lines

  1. Newsgroups: sci.math
  2. Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!tim
  3. From: tim@maths.tcd.ie (Timothy Murphy)
  4. Subject: Re: Gnu Multi-precision Package (GMP):
  5. Message-ID: <1992Nov24.031624.16602@maths.tcd.ie>
  6. Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
  7. References: <2258@sousa.tay.dec.com>
  8. Date: Tue, 24 Nov 1992 03:16:24 GMT
  9. Lines: 35
  10.  
  11. perkins@tallis.enet.dec.com (Eric Perkins) writes:
  12.  
  13.  
  14. >Has anyone used the Gnu Multi-precious Package (GMP)?
  15. >I have been trying to use it and have had not end of trouble
  16. >trying to get simple things to work.
  17.  
  18. >If anyone else has tried it I would be curious to know if they
  19. >find it is working or not.
  20.  
  21. I've used it and it seemed to work ok.
  22. Could I (we) see your program.
  23.  
  24. >Are there any other multi-precision packages out there in the public
  25. >domain?
  26.  
  27. There are a couple of C++ implementations.
  28. I'm just looking at one in the C++ Answer Book, by Tony Hansen;
  29. Exercise 6.11 reads, 
  30. "Define a class implementing arbitrary precision arithmetic."
  31. (The code from this book is available by anon FTP,
  32. from research.att.com [username: netlib]
  33. directory c++/answerbook .
  34. Nb There is a lot of it!)
  35.  
  36. C++ seems the natural language for this,
  37. with operator overloading to allow sums
  38. to be written as x+y, etc.
  39.  
  40.  
  41. -- 
  42. Timothy Murphy  
  43. e-mail: tim@maths.tcd.ie
  44. tel: +353-1-2842366
  45. s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
  46.