mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() Instead of writing warning messages to `stderr`, we employ PHP's error handling to raise `E_WARNING` even for the single case where `bc_rt_error()` has been called, since that did not actually error out. We choose to call `php_error_docref()` directly in libbcmath, since there is no upstream, and since other PHP core functionality is already used in our bundled libbcmath. Accordingly, we remove `rt.c` so it will not be accidentally used in the future. Besides adapting a few existing tests, we add new tests so that the warnings are tested at least once. We also get rid of the Windows specific tests, since the warning behavior is now supposed to be platform-agnostic. |
||
---|---|---|
.. | ||
src | ||
acconfig.h | ||
aclocal.m4 | ||
AUTHORS | ||
ChangeLog | ||
config.h.in | ||
configure | ||
configure.ac | ||
COPYING.LIB | ||
FAQ | ||
INSTALL | ||
install-sh | ||
Makefile.am | ||
missing | ||
mkinstalldirs | ||
NEWS | ||
README |
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.