GMP is the TheGNUMPBignumLibrary and is an open-source mathematical computing library. It can be used for any precision mathematical operations, including signed integers, rational numbers, and floating-point numbers. It has no Precision Limit, only depends on the machine
GMP is The gnu mp Bignum Library and is an open-source mathematical computing Library. It can be used for mathematical operations with any precision, including signed integers, rational numbers, and floating point numbers. It has no Precision Limit, only depends on the machine
GMP is The gnu mp Bignum Library and is an open-source mathematical computing Library. It can be used for mathematical operations with any precision, including signed integers, rational numbers, and floating point numbers. It has no precision limit, but only depends on the hardware of the machine.
Environment: PHP 5.3.27 is installed.
# Current directory # [root @ ipython gmp] # pwd/software/source/php-5.3.27/ext/gmp # Install the GMP dependency RE2C # [root @ ipython gmp] # yum install gmp-devel [root @ ipython gmp] # wget-O "re2c-0.13.5.tar.gz" [root @ ipython gmp] # tar zxf re2c-0.13.5.tar.gz [root @ ipython gmp] # cd re2c-0.13.5 [root @ ipython re2c-0.13.5] #. /configure [root @ ipython re2c-0.13.5] # make & make install [root @ ipython re2c-0.13.5] # cd .. [root @ ipython gmp] # phpize [root @ ipython gmp] #. /configure -- with-gmp [root @ ipython gmp] # make & make install # load # [root @ ipython gmp] # grep "gmp. so "/software/php/etc/php. ini extension =/software/php/lib/php/extensions/no-debug-non-zts-20090626/gmp. so # PHPINFO # [root @ dev-centos-23 gmp] # php-I | grep gmpgmpgmp support => enabledPWD =>/software/source/php-5.3.27/ext/gmpOLDPWD =>/software/ source/php-5.3.27/ext/gmp/re2c-0.13.5_SERVER ["PWD"] =>/software/source/php-5.3.27/ext/gmp_SERVER ["OLDPWD"] =>/software/source/php-5.3.27/ ext/gmp/re2c-0.13.5
Reprinted and reserved copyright: IT Chen Yi PHP compilation GMP Extension
Link:
This article copyright to take: BY-NC-SA agreement for authorization, reprinted to indicate the source. All articles on this site are original except IT-Tools, News, and special notes.
If you like: Click here to subscribe to this site
0
0 step
Previous Article: Ubuntu 14.04 GUI manual Login
Recommended articles:
Post comments
0.043 @ 1217145008©2014 OutOfMemory. CN contact us for Java memory overflow processing OutOfMemory novel serialization programmer Documentation Site Map
,