Re: [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

From: Date: Thu, 05 Oct 2023 04:25:10 +0000
Subject: Re: [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-121229@lists.php.net to get a copy of this message
Hi On Wed, Oct 4, 2023, 6:39 PM Saki Takamachi <saki@sakiot.com> wrote: > Hi, Marc, Pierre > > Thank you for all the information. > > After all, I feel that BCMath and GMP have different roles. > > Arbitrary precision mathematics and very high precision mathematics are > similar but distinctly different. > I replied about the FP specific question as it can be confusing. Adding that gmp* may be a more sustainable solution as it is actively maintained and widely used. If PHP has already started integrating these things, then of course I'll > follow suit, but if not, I'm against these integrations. > > If I missed something important, could you please let me know? > theoretically I agree, both may have different uses. Practically, and within php ecosystem, they are used for the same purposes. best, Pierre >

« previous php.internals (#121229) next »