mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
We must not rely on `isdigit()` to detect digits, since we only support
decimal ASCII digits in the following processing.
(cherry picked from commit eb23c60087)
This is bcmath, a library of arbitrary precision math routines. These routines, in a different form, are the routines that to the arbitrary precision calculations for GNU bc and GNU dc. This library is provided to make these routines useful in a larger context with less restrictions on the use of them. These routines do not duplicate functionality of the GNU gmp library. gmp is similar, but the actual computation is different.