Doc #80554 [Opn->Ver]: Documentation for BCMath
Edit report at https://bugs.php.net/bug.php?id=80554&edit=1
ID: 80554
Updated by: cmb@php.net
Reported by: nandof at nothingsimple dot com
Summary: Documentation for BCMath
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: BC math related
Operating System: linux
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Yes, this is about decimal digits. In practice, though, you're
likely hitting the memory_limit long before reaching this amount
of digits.
Previous Comments:
------------------------------------------------------------------------
[2020-12-27 01:35:21] nandof at nothingsimple dot com
Description:
------------
---
From manual page: https://php.net/intro.bc
---
For arbitrary precision mathematics PHP offers BCMath which supports numbers of any size and
precision up to 2147483647 (or 0x7FFFFFFF) decimals,
Expected result:
----------------
I think the text is meant to say something like...
..which supports numbers of any size and precision up to 2147483647 digits with the decimal point
positioned anywhere in a number consisting of up to 2147483647 digits.
The word decimals isn't appropriate.
There is the decimal point.
There are decimal digits (as in base ten)
There are digits to the left and right of the decimal point.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80554&edit=1
Thread (3 messages)