Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103278 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 56483 invoked from network); 29 Sep 2018 18:11:18 -0000 Received: from unknown (HELO mail-qt1-f178.google.com) (209.85.160.178) by pb1.pair.com with SMTP; 29 Sep 2018 18:11:18 -0000 Received: by mail-qt1-f178.google.com with SMTP id l2-v6so9649901qtr.12 for ; Sat, 29 Sep 2018 07:20:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0FqQ8kaHWzB9ugXyO19EkhZyvtnA3M1+X9OqZg427QI=; b=gR31+fES18D+vbRxxgW2REjrhUBRYzv2eEwi64wuGlm6JnYPW03ofNe/xH1dRAZ2Fj uKnvECEfW8POwmVkeKGrgpAJHL/jytM9mrUtBnNxBGxMYI38jtDHBFjmywVqSjTPcwuh 7PY3PUsUXVG5iG8ObSgn1Y2CAqLDyPUPjPg7uTz8/bM4szL+h8LdMjzqq/K6ApfoQb0I 1LJw03iuan4ncuDud45ZIhoiiQES92nEKS5NiUn/GEvU4qI3P10petZUMOF63vG7ztzs nJtXzKqJetRCaH7zDRwMTJmnbtVG4jkacoR7wOH6Q5r6+xW8XKg2PdX8aREluPU1/CIi jN5g== X-Gm-Message-State: ABuFfog2+onzq55rrG8qE3/rwuFVOJpH6RNOWmYLlR+KYs9U4w5Q4mRI etJl09FcuTxAhqx5dlcatSa9v2fYgIRM5+qrq6wWzA== X-Google-Smtp-Source: ACcGV62uHiUYSO+Y7waTRRVQ+5BY1o6Zeye/7QbEpidHAQMAJZBvR6vz+zA1FCIdYE2NFafpMHvfBUeh+LnPDdml+p4= X-Received: by 2002:a0c:88a5:: with SMTP id 34-v6mr2507357qvn.220.1538230810946; Sat, 29 Sep 2018 07:20:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 29 Sep 2018 09:19:59 -0500 Message-ID: To: Rudi Theunissen Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Extension: arbitrary precision decimal arithmetic in PHP 7 From: pollita@php.net (Sara Golemon) On Fri, Sep 28, 2018 at 6:06 PM Rudi Theunissen 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