PHP5: bcmath

php.internals

Georg Richter

22 years ago
Hi, after discussion with Brian Aker about problems with number precision in financial applications and thinking about the impact of "Enterprise" I'm wondering that bcmath is not enabled by default. Is there a reason for it? if not I'm strongly +1 to enable it by default. Georg

Sebastian Bergmann

22 years ago
Georg Richter wrote:
> Is there a reason for it? if not I'm strongly +1 to enable it by > default.
+1 (it's been enabled by default on Windows for ages)
-- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

Ilia A.

22 years ago
Majority of PHP application and hence users do not require this extension. Those who do, in most cases operate in an environment where they have full control over their PHP configuration and thus will be able to enable this extension on demand. -1. Ilia On February 01, 2004 01:50 am, Georg Richter wrote:

Sara Golemon

22 years ago
"Ilia Alshanetsky" <ilia@prohost.org> wrote in message news:200402010207.46582.ilia@prohost.org...
> Majority of PHP application and hence users do not require this extension. > Those who do, in most cases operate in an environment where they have full > control over their PHP configuration and thus will be able to enable this > extension on demand. > > -1. > > Ilia >
-0 (for the reasons cited by Ilia above) Sara

Ard Biesheuvel

22 years ago
Ilia Alshanetsky wrote:
> Majority of PHP application and hence users do not require this extension. > Those who do, in most cases operate in an environment where they have full > control over their PHP configuration and thus will be able to enable this > extension on demand.
I agree with Ilia. -1
-- Ard

Pierre-Alain Joye

22 years ago
On Sun, 1 Feb 2004 07:50:45 +0100 Georg Richter <georg@php.net> wrote:
> Hi, > > after discussion with Brian Aker about problems with number precision > in financial applications and thinking about the impact of > "Enterprise" I'm wondering that bcmath is not enabled by default. > > Is there a reason for it? if not I'm strongly +1 to enable it by > default.
+1 here. Another good reason is to check the bug reports where "bogus->Use bcmath" has been applied. pierre

Andi Gutmans

22 years ago
At 07:50 AM 2/1/2004 +0100, Georg Richter wrote:
>Hi, > >after discussion with Brian Aker about problems with number precision in >financial applications and thinking about the impact of "Enterprise" I'm >wondering that bcmath is not enabled by default. > >Is there a reason for it? if not I'm strongly +1 to enable it by default.
I wouldn't mind. Andi

Stanislav Malyshev

22 years ago
AG>> >financial applications and thinking about the impact of "Enterprise" I'm AG>> >wondering that bcmath is not enabled by default. AG>> > AG>> >Is there a reason for it? if not I'm strongly +1 to enable it by default. AG>> AG>> I wouldn't mind. From what I remember, GMP module is superior to bcmath and works good, however I have seen problems with bcmath not working in certain situations. GMP is LGPL, I don't know if it matters.
-- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109

Stefan Walk

22 years ago
> >From what I remember, GMP module is superior to bcmath and works > good, however I have seen problems with bcmath not working in certain > situations. GMP is LGPL, I don't know if it matters.
GMP is superior in features, but the ext is not available on windows (at least the manual says so, i don't use windows). Stefan
-- Regards, Stefan Walk <swalk@prp.physik.tu-darmstadt.de>

Marcus Börger

22 years ago
Hello Stanislav, Sunday, February 1, 2004, 10:09:52 AM, you wrote: AG>>> >financial applications and thinking about the impact of "Enterprise" I'm AG>>> >wondering that bcmath is not enabled by default. AG>>> > AG>>> >Is there a reason for it? if not I'm strongly +1 to enable it by default. AG>>> AG>>> I wouldn't mind.
>>From what I remember, GMP module is superior to bcmath and works > good, however I have seen problems with bcmath not working in certain > situations. GMP is LGPL, I don't know if it matters.
LGPL is fone for PHP. Anyways i am +0 for bcmath as being default.
-- Best regards, Marcus mailto:helly@php.net

Georg Richter

22 years ago
> From what I remember, GMP module is superior to bcmath and works > good, however I have seen problems with bcmath not working in certain > situations. GMP is LGPL, I don't know if it matters.
GMP is a solution too - but it's not "very fast" Cheers! Georg

Jan Lehnardt

22 years ago
Hi, before this thread moves out of sight, here's a sum up. Let's see if we can go on from here or drop the idea. Georg: +1 ("enterpriseness" of PHP) Sebastian: +1 (is default on Win for ages) Pierre: +1 (reduces bug reports) Andi: +0 (if I got him right) Marcus: +0 Sara: -0 (not everyone needs it) Ilia: -1 (not everyone needs it) Stefan Walk: +1 for GMP (GMP's superior) Stas: +0/+1 for GMP Any more opinions on this? :) From the raw count, the list is pro enabling it by default. Regards, Jan
--

Derick Rethans

22 years ago
On Tue, 10 Feb 2004, Jan Lehnardt wrote:
> Hi, > before this thread moves out of sight, here's a sum up. > Let's see if we can go on from here or drop the idea. > > Georg: +1 ("enterpriseness" of PHP) > Sebastian: +1 (is default on Win for ages) > Pierre: +1 (reduces bug reports) > > Andi: +0 (if I got him right) > Marcus: +0 > > Sara: -0 (not everyone needs it) > > Ilia: -1 (not everyone needs it) > > Stefan Walk: +1 for GMP (GMP's superior) > Stas: +0/+1 for GMP > > Any more opinions on this? :)
I'm -1 here, we should not bloat default installs with this. Derick

Jani Taskinen

22 years ago
On Tue, 10 Feb 2004, Jan Lehnardt wrote:
>Hi, >before this thread moves out of sight, here's a sum up. >Let's see if we can go on from here or drop the idea. > >Georg: +1 ("enterpriseness" of PHP) >Sebastian: +1 (is default on Win for ages) >Pierre: +1 (reduces bug reports) > >Andi: +0 (if I got him right) >Marcus: +0 > >Sara: -0 (not everyone needs it) > >Ilia: -1 (not everyone needs it) > >Stefan Walk: +1 for GMP (GMP's superior) >Stas: +0/+1 for GMP > >Any more opinions on this? :) > From the raw count, the list is pro enabling it by default.
-1 --Jani

Stefan Walk

22 years ago
> Stefan Walk: +1 for GMP (GMP's superior)
Just a note - I'm not in favour of installing GMP (or BC) by default, i just stated that it has better features (and that it's not available on windows).
-- Regards, Stefan Walk <swalk@prp.physik.tu-darmstadt.de>

Jan Lehnardt

22 years ago
Hi, On 10 Feb 2004, at 19:48, Stefan Walk wrote:
> Just a note - I'm not in favour of installing GMP (or BC) by default, i > just stated that it has better features (and that it's not available on > windows).
Whoops, sorry. I got that wrong. But anyway, that vote seems clear now. Thank you all for your patience ;) Jan
--

Georg Richter

22 years ago
> Hi, > before this thread moves out of sight, here's a sum up. > Let's see if we can go on from here or drop the idea.
Yes, not too much votes, which is understandable: people are more interested to have a progressbar for uploads than to support basic things like precision be default. Georg

Zeev Suraski

22 years ago
At 21:54 10/02/2004, Georg Richter wrote:
> > Hi, > > before this thread moves out of sight, here's a sum up. > > Let's see if we can go on from here or drop the idea. > >Yes, not too much votes, which is understandable: people are more interested >to have a progressbar for uploads than to support basic things like precision >be default.
I don't think one has anything to do with the other... Zeev

Zeev Suraski

22 years ago
+1 from me... (you must have wondered at which point the personality switch will take place, eh? :) Zeev At 12:03 10/02/2004, Jan Lehnardt wrote: