Re: [RFC] [Discussion] Support object type in BCMath
| From: | Saki Takamachi | Date: | Tue, 09 Apr 2024 13:57:46 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123058@lists.php.net to get a copy of this message | ||
> - Use precision instead of scale
> - The default maximum precision is 20 digits
> - The default rounding mode is HALF_UP
> - The constructor takes only $num arguments
> - The method can optionally specify any precision and any rounding mode when calculating
> - Operators always use only default values in their calculations
Ah, that takes away the benefit of arbitrary precision...
Maybe I'm sleepy, forget about this.
Regards.
Saki