Re: [RFC] Floating Point support in GMP extension
How to make PHP userland class, overloading math operators?
2014-04-24 23:29 GMT+03:00 Stas Malyshev <smalyshev@sugarcrm.com>:
> 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
>
Thread (9 messages)