Re: [RFC] [Discussion] Support object type in BCMath
| From: | Saki Takamachi | Date: | Tue, 30 Apr 2024 12:33:47 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123235@lists.php.net to get a copy of this message | ||
Hi Alex,
> 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
Thanks for the good pointers! This was an oversight on my part. I will update the RFC.
Regards,
Saki