How To Use The GMP And Perform Large Integer Or High-Precision Arithmetic On SourceForge Web Sites


04/15/03:  I (Dave Ashley) have several number theory CGI pages here at SourceForge.  These pages do things like calculate the GCD of two integers, find best rational approximations, etc.; and they do need arbitrarily large integer capability to be useful.  It was quite difficult to obtain large integer capability for these pages.  Here are the steps I went through, and the eventual solution (in the hopes that it helps others).

All that being said, here are the specific steps I took to use the GMP from PHP:

Please drop me an e-mail if I should change or enhance this documentation or if there is a better way to do something.


This web page is maintained by David T. Ashley.
$Header: /cvsroot/esrg/sfesrg/esrgweba/htdocs/howtos/sourceforge/use_the_gmp.htm,v 1.2 2003/04/27 21:01:30 dtashley Exp $