# PHP5: bcmath

- Thread: https://externals.io/message/7444
- Original archive: https://news-web.php.net/php.internals/7444
- Started by Georg Richter on 2004-02-01T06:50:45+00:00
- Messages: 14
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7444 — Georg Richter — 2004-02-01T06:50:45+00:00

URL: https://externals.io/message/7444#7444

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

---

## #7445 — Sebastian Bergmann — 2004-02-01T06:57:58+00:00

URL: https://externals.io/message/7444#7445 · In reply to: #7444

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/

---

## #7447 — Ilia Alshanetsky — 2004-02-01T07:07:46+00:00

URL: https://externals.io/message/7444#7447 · In reply to: #7444

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



> 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

---

## #7448 — Pierre-Alain Joye — 2004-02-01T09:02:38+00:00

URL: https://externals.io/message/7444#7448 · In reply to: #7444

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

---

## #7449 — Andi Gutmans — 2004-02-01T09:06:08+00:00

URL: https://externals.io/message/7444#7449 · In reply to: #7444

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

---

## #7465 — Sara Golemon — 2004-02-01T19:54:39+00:00

URL: https://externals.io/message/7444#7465 · In reply to: #7447

"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

---

## #7689 — Jan Lehnardt — 2004-02-10T10:03:02+00:00

URL: https://externals.io/message/7444#7689 · In reply to: #7444

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

---

## #7692 — Derick Rethans — 2004-02-10T10:26:54+00:00

URL: https://externals.io/message/7444#7692 · In reply to: #7689

> 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

---

## #7694 — Ard Biesheuvel — 2004-02-10T10:36:38+00:00

URL: https://externals.io/message/7444#7694 · In reply to: #7447

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

---

## #7698 — Jani Taskinen — 2004-02-10T12:49:57+00:00

URL: https://externals.io/message/7444#7698 · In reply to: #7689

>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

---

## #7702 — Stefan Walk — 2004-02-10T18:48:36+00:00

URL: https://externals.io/message/7444#7702 · In reply to: #7689

> 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

---

## #7703 — Jan Lehnardt — 2004-02-10T19:02:20+00:00

URL: https://externals.io/message/7444#7703 · In reply to: #7702

Hi,

> 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

---

## #7704 — Zeev Suraski — 2004-02-10T19:31:48+00:00

URL: https://externals.io/message/7444#7704 · In reply to: #7444

+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:
>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

---

## #7705 — Georg Richter — 2004-02-10T19:54:28+00:00

URL: https://externals.io/message/7444#7705 · In reply to: #7689

> 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
