Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103280 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82678 invoked from network); 29 Sep 2018 21:08:01 -0000 Received: from unknown (HELO mail-io1-f43.google.com) (209.85.166.43) by pb1.pair.com with SMTP; 29 Sep 2018 21:08:01 -0000 Received: by mail-io1-f43.google.com with SMTP id w16-v6so6424834iom.7 for ; Sat, 29 Sep 2018 10:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R5c6LeuDmpUUsX3ZTAkn4t0RKpFj5aQbsejteaJ8vos=; b=i0EV092+Zh7XEurcDbJGw7kq8eEstrkLLFkFbvvUxaxiyGOYEh2vk+/jQgAt3M0FMm LVTHfpvwuD2qMVWP69max6QlR7Zf2QbEOwWuTWQZPdeFwi5LnKpuzv0U5Y/4CczGyCAJ daAz8g+x6TTGBzBY2CBwCavFYPxQYfhDFT0y8Rp27bO6Nxi/pGg9Yilu4awfogZ/+psB V/naZFVHjZ2Avgeuwda8oG8tAhusGmYE+lBtihJseywKBlbV0Q1hJj8dGwlG9zp1bG1m pzyCY5byCtTauahzFeRlOYJBGnVVjYTJFaXelLI2Ul9C7qMWfDz7GRldqRf4G8tcc6PY IMaQ== 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=R5c6LeuDmpUUsX3ZTAkn4t0RKpFj5aQbsejteaJ8vos=; b=kqVHIUU61dofKpC+Ih55bL9M7HPY+5ws4+Mve9AaGZ9wU+8FBdITKXsS8M0DL5nODQ jrFuXXaXcVn/7eMjg7PtJGxF1UuVilWeHlSwFLTsSU/ivh56k66WsI8iFXcjwwycgY7l WXLnsRQ4YdO0q0itUNGeh/PC9ydd6VnwcluqYCRYMC+d8Q6myGCQmD2zlHU4Td9YY0pg fMB8KYzbV4Kso7FF1tlj1YZrtE85MOKh2YTdFrsXseTRCRHMr6VRGcRgj05m7IBNjK6e TKP66ciQc26+NckO0YYERORD9VfENaHpqaY3ZgxDYyqSumT2MTJnQ6J1fCH3y56fCi0Q md0g== X-Gm-Message-State: ABuFfoh6wYHLoCnMqkN0rYQ7ZOLFFajN1ec6D5ttcRxBbwyzJT6AVMfv qfcx+j3OIv4Fxflm01XwvR9piOTmKxnndJYVQlk= X-Google-Smtp-Source: ACcGV63VzgWyQUR2vPb8QCerr4nadN/djZwoAUdHzjyvOkLG72fGkiaZU9XNjX+HXCWrt09x5fkLcqyEpeyKxAhElDE= X-Received: by 2002:a6b:7e0c:: with SMTP id i12-v6mr2560806iom.221.1538241416027; Sat, 29 Sep 2018 10:16:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 29 Sep 2018 19:16:45 +0200 Message-ID: To: Rudi Theunissen Cc: internals@lists.php.net, pollita@php.net Content-Type: multipart/alternative; boundary="0000000000002e64fe057705bdc8" Subject: Re: [PHP-DEV] Extension: arbitrary precision decimal arithmetic in PHP 7 From: albertcasademont@gmail.com (Albert Casademont) --0000000000002e64fe057705bdc8 Content-Type: text/plain; charset="UTF-8" Looks promising! Could it be added to PECL maybe? That would make it easier for people to test :D On Sat, 29 Sep 2018 at 17:46, Rudi Theunissen wrote: > Actually yes! You mentioned it to me 5 months ago in a thread on Reddit: > > https://www.reddit.com/r/PHP/comments/8fpwi4/if_php_had_a_native_decimal_type_would_you_use_it/dy6zon9/ > > I'll take a close look at GMPi today and compare them objectively. :) > > On Sat, Sep 29, 2018 at 7:20 AM Sara Golemon wrote: > > > 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 > > > --0000000000002e64fe057705bdc8--