Re: [RFC] [Discussion] Support object type in BCMath
| From: | Alexandru Pătrănescu | Date: | Tue, 30 Apr 2024 10:15:10 +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-123233@lists.php.net to get a copy of this message | ||
On Tue, Apr 30, 2024 at 7:31 AM Saki Takamachi <saki@sakiot.com> wrote:
> Hi,
>
> If there is no further discussion, I will start voting tomorrow. (I
> haven't decided on the time yet.)
> https://wiki.php.net/rfc/support_object_type_in_bcmath
>
>
>
Just one small note from me, for mod operation, related to scale there is a
mention of "Use the scale of the dividend as is".
In reality, I think it should be the same as add and sub, "The larger scale
of the two values is applied".
In this way, something like this can work by default: https://3v4l.org/NismE
Regards,
Alex