php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80554 Documentation for BCMath
Submitted: 2020-12-27 01:35 UTC Modified: 2020-12-28 13:04 UTC
From: nandof at nothingsimple dot com Assigned: cmb (profile)
Status: Closed Package: BC math related
PHP Version: Irrelevant OS: linux
Private report: No CVE-ID: None
 [2020-12-27 01:35 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-28 13:04 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-12-28 13:04 UTC] cmb@php.net
Yes, this is about decimal digits.  In practice, though, you're
likely hitting the memory_limit long before reaching this amount
of digits.
 [2020-12-28 13:04 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=352239
Log: Fix #80554: Documentation for BCMath
 [2020-12-28 13:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b23d3f10b8ca06187fc2138bce157f64753d941b
Log: Fix #80554: Documentation for BCMath
 [2020-12-28 13:06 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-12-28 21:13 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=352255
Log: Fix #80554: Documentation for BCMath / Document what is a valid BCMath number
 [2020-12-28 21:15 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=229b21d64c65722efa6330f0027a3c959dcab5ef
Log: Fix #80554: Documentation for BCMath / Document what is a valid BCMath number
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=c6dfa7a6d18716b4e68a511df1893aff8b3d5094
Log: Fix #80554: Documentation for BCMath / Document what is a valid BCMath number
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jun 09 19:03:38 2023 UTC