Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123058 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 265C91A009C for ; Tue, 9 Apr 2024 13:58:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712671114; bh=5n0d3BnJ4bY0pvJM5QKjSoPiJ7BSLTdu9+Ez/SRL5DU=; h=From:Subject:Date:References:In-Reply-To:To:From; b=e5FrKq/IGgWGyW0zVM+RqCtwmSSquLtFHcwBNtBwGk0/fjO/bsOesgyPRksKhnR1X io3GpUwij9lY8tik6HGpsOQhBTjqiBzhNSxLwW8yT+VF5mt8ecltGOkOxWY2/5w3z/ USw+eL1HH620++ytOQ5Gl076FoSgddafxM8HqKZXtAlZjw4VcnYjCJ2+PsULhuvO/l 4Dgt1oxzhkx8JYWGlEzQmTjgi11b2XxnHgtaWIxkP6Tk7jRloDOrzU4+iGZRr07Des FrT/F/Y2zHTWxjao9vkVO49X4a0SZTQockBCW3Qr7UDGZ9LAVtQXxroZTafXWmM+nH QB/eCBFHiDEaQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1C7EE1807E3 for ; Tue, 9 Apr 2024 13:58:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 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 X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 9 Apr 2024 13:58:33 +0000 (UTC) Received: from smtpclient.apple (unknown [117.55.37.250]) (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 16E19401D3 for ; Tue, 9 Apr 2024 22:57:59 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1712671079; bh=5n0d3BnJ4bY0pvJM5QKjSoPiJ7BSLTdu9+Ez/SRL5DU=; h=From:Subject:Date:References:In-Reply-To:To:From; b=s5zCQiElAdVUbsN/593KC6Q5wmG8A1Q7KNrD4JNXuhRiIBFrPCi9XzAMz51xPG2Fo jTW47J7IEUmM0Hz2Zwd34i/C3ledG3vi9ki3idO99mjxxuRSyeKSLrMgtbcMCUiiFH urFPR+2z0PIgq0aDfDacywsoc4MUeGmll94uJpRI= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath Date: Tue, 9 Apr 2024 22:57:46 +0900 Message-ID: References: <2AD7009E-EC77-4AAB-85DB-D779554CBDD6@sakiot.com> In-Reply-To: <2AD7009E-EC77-4AAB-85DB-D779554CBDD6@sakiot.com> To: php internals X-Mailer: iPhone Mail (21D61) From: saki@sakiot.com (Saki Takamachi) > - Use precision instead of scale > - The default maximum precision is 20 digits > - The default rounding mode is HALF_UP > - The constructor takes only $num arguments > - The method can optionally specify any precision and any rounding mode wh= en calculating > - Operators always use only default values =E2=80=8B=E2=80=8Bin their calc= ulations Ah, that takes away the benefit of arbitrary precision... Maybe I'm sleepy, forget about this. Regards. Saki=