On Wed, 26 Apr 2023 at 20:52, Benjamin Morel <benjamin.mo...@gmail.com> wrote:

> For what it’s worth, this is already solved in userland:
> https://github.com/brick/math

When I checked the sources, the first I saw was:

> final class BigInteger extends BigNumber
> {
> private string $value;

It also converts to strings back and forth which can not be as
performant as native calculations and still is (with respect to the
authors) yet another band-aid over the missing core functionality. I
know that there are workarounds, but my proposal is about native
support.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to