Re: [RFC] Floating Point support in GMP extension
| From: | Stas Malyshev | Date: | Thu, 24 Apr 2014 20:29:12 +0000 |
| Subject: | Re: [RFC] Floating Point support in GMP extension | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73785@lists.php.net to get a copy of this message | ||
Hi!
> We use BCMath, but bulky code BCMath:
> bcmul(bcadd($a, $b, $scale), 2, $scale)
> I want to write simple:
> $a + $b * 2
>
> I'm looking forward to implementing GMPFloat
Nothing prevents one from doing with bcmath what was done with GMP with
regard to move to objects and support for operators, as far as I can see.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227