1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/ext/gmp
Sara Golemon 665050787c Bugfix#70896 gmp_fact() silently ignores non-integer inputs
Factorials only make sense for integer inputs.
To do something factorial-like, the Gamma Function
should be used instead.
However, at this point it's no longer a factorial.

For PHP/GMP, we'll raise a warning on trying to use
a non-integer input, but carry on returning the truncated
value as we used to (avoiding BC breakage).
2016-07-26 22:04:18 -07:00
..

Arbitrary length number support with GNU MP library.
Please see the PGP manual for more documentation.
See also GNU MP home page at http://www.swox.com/gmp/.
GNU MP library is available under the tems of GNU LGPL 
license. Please see http://www.swox.com/gmp/lgpl.html