Re: [RFC] [Discussion] Support object type in BCMath
| From: | Christian Schneider | Date: | Thu, 04 Apr 2024 09:02:06 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122925@lists.php.net to get a copy of this message | ||
Am 04.04.2024 um 08:29 schrieb Saki Takamachi <saki@sakiot.com>:
> I added some examples, corrected incorrect explanations, etc. Now that the specifications have
> been fairly finalized and the RFC has been clarified, I would like everyone to check it out again.
>
> https://wiki.php.net/rfc/support_object_type_in_bcmath
Looks very promising!
The default value for rounding is PHP_ROUND_TOWARD_ZERO. Is this because it is the same as the
BCMath functions for consistency only or do you expect this to be the most used rounding mode?
I didn't find any discussion about this choice, sorry if I missed it.
Regards,
- Chris