Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121232 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 54084 invoked from network); 5 Oct 2023 12:27:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Oct 2023 12:27:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 90B29180539 for ; Thu, 5 Oct 2023 05:27:00 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,MIME_QP_LONG_LINE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS9370 160.16.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 5 Oct 2023 05:26:59 -0700 (PDT) Received: from smtpclient.apple (21.152.159.133.rev.vmobile.jp [133.159.152.21]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id AA169401D5; Thu, 5 Oct 2023 21:26:56 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1696508816; bh=JCY8+p9LsqdHJT8Y0lq3St6gSQFAYE5bNxPtpTkvrS0=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=Be0OL0P2z0oOZtOtbcPI5Rdxqbhkpdh4KEC7TlTfJI1q3/1FiLuHWlUbrYb5Ue7Lu KSy7XW6MCCj+NvCA+XJzemw7cYSQT9MqBboshp6EKIPsfG/a/5OVKbVHH66GrQCDDY I1G/W33XCCQCr+Nt3G75t4P51clXAyu6Jz6dKthY= Content-Type: multipart/alternative; boundary=Apple-Mail-FB016C27-D1EB-4EED-B2DD-EC0470EBA364 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Thu, 5 Oct 2023 21:26:43 +0900 Message-ID: <9812BAD1-5003-4E91-BB3B-00637B9687AC@sakiot.com> References: Cc: PHP internals In-Reply-To: To: Pierre Joye X-Mailer: iPhone Mail (20G81) Subject: Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath From: saki@sakiot.com (Saki Takamachi) --Apple-Mail-FB016C27-D1EB-4EED-B2DD-EC0470EBA364 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi, Pierre In fact, I predict that many use cases will be covered by GMP. Still, I think that there may be cases where calculation functions like main= frame BCD are required, such as when calculating money. I am unable to decide whether it is correct to deprecate BCMath and only use= GMP. I'd like to hear other people's opinions as well. Regards. Saki --Apple-Mail-FB016C27-D1EB-4EED-B2DD-EC0470EBA364--