Doc #80554 [Opn->Ver]: Documentation for BCMath

From: Date: Mon, 28 Dec 2020 13:04:14 +0000
Subject: Doc #80554 [Opn->Ver]: Documentation for BCMath
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18326@lists.php.net to get a copy of this message
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)

« previous php.doc.bugs (#18326) next »