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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nandof at nothingsimple dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC