Re: [RFC] [Discussion] Support object type in BCMath
| From: | Jordan LeDoux | Date: | Thu, 04 Apr 2024 02:40:16 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122921@lists.php.net to get a copy of this message | ||
On Wed, Apr 3, 2024 at 7:31 PM Saki Takamachi <saki@sakiot.com> wrote:
>
> Thanks, I agree with you that it works a little differently than the
> existing BCMath function, so it needs to be well-documented.
>
> I have summarized the discussion so far, made some corrections, and
> updated the RFC. I would be happy if you could check it out.
>
It looks pretty good. It should probably give specific guidelines on how
"no scale provided" works for addition, subtraction, multiplication,
division, and exponentiation. The section now doesn't make it clear that
the returned scale will behave differently for addition (the current
example) than for division.
Jordan