Re: Extension: arbitrary precision decimal arithmetic in PHP 7
| From: | Sara Golemon | Date: | Sat, 29 Sep 2018 14:19:59 +0000 |
| Subject: | Re: Extension: arbitrary precision decimal arithmetic in PHP 7 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103278@lists.php.net to get a copy of this message | ||
On Fri, Sep 28, 2018 at 6:06 PM Rudi Theunissen <rtheunissen@php.net> wrote:
> I've been working on adding arbitrary precision decimal support as an
> alternative to *bcmath. *I have created an extension based on *mpdecimal*,
> which is what Python 3's decimal module is also based on. I haven't
> released or broadcast this project yet, because I wanted to discuss the API
> and implementation with internals first.
>
Have you looked at GMPi ? https://github.com/sgolemon/gmpi
It's a replacement for GMP (which includes floating point and an OOP interface).
-Sara