Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123233 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 3B7101A009C for ; Tue, 30 Apr 2024 10:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714472174; bh=e3JRREb6uV6NHnNv/oYcXidHGm2LFlG4zD1jizeokq8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XZqXGjOVa9IEBGOfYiWmFt5/opkea4Cmdm/G6eoCv6YtvuHI/LYnBacDaJn0W3UNy bv8UHdCiXUcgWXNZypnSWR8Lo0i0hmEVuhLq3TLzeZqMCXV7DVbCirttL0WL4AXI1S v0ZelZnhZegcxLvXTF3Uot0cikbWWcQYNjWOvJQFlLc2i3/gzRm/VoycWJT/gnP4HE f7wAHX4jpIW5r5oNc1L8pwn8fmysU3+zQF9FJrMPI5av5C1IkknO5j5htw9ZGK/WaK WeYYyw07xFiDdYc/pnUbe2oiCOkeA1D5sJ3Me5r5fctuMcrGmnKwlO/0WMMQN13xu1 AtliW3S5KdA8Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 05D7F1801D6 for ; Tue, 30 Apr 2024 10:16:14 +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,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (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, 30 Apr 2024 10:16:13 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-de60d05adafso1045541276.2 for ; Tue, 30 Apr 2024 03:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714472129; x=1715076929; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=e3JRREb6uV6NHnNv/oYcXidHGm2LFlG4zD1jizeokq8=; b=jR7yAPvAXoCvBbldHPSt70v5wtBBf5ohhfgxrg7cvReGPD5+q1GKqujREIGsLjf1t3 tOZ6EtW8YaWyAD9AeUN1KZOZk+i+JVox1k++JjHRG3dbyoiR1ppb0VLHk68ahaxVTsyb j4WKAhhHQXbRiCqg9I4BIGNzRAWO+JxWiQfcFakmN4Tfyt5GVcbxFm8Udmic8KXsIdDd FZdwEIxsrt+MWrDrsqXz6RWTOthx5uUTpTM+3MVdbWpm/js6ulqVLLfDZWiVc7NNIouc AFAJSmhb4UCV77A+hQGC1jD2iikb4PxhZUI5rSR09dpj7JIGUz+QmLZh1BngVcnPCpPM AdrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714472129; x=1715076929; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=e3JRREb6uV6NHnNv/oYcXidHGm2LFlG4zD1jizeokq8=; b=n22CbuK74cSrvtNv3td0gKZP2XBOb/LooCdybQnC6TivDMAahppMht7F4Ui4ZJCiGy xuZ+y6cLeslpwTQ4uW4TK6FxmrCpwJp18Baa1bNF9T0nfNWYZM2iVSYHn+vOhw3K60pe eCmeh6GvikFFW1fSeZPxaOPEcwC2gpXSXD+UDvjEycnZ+fobjHUxE5hkzfAKuMza0cTS ow9jgp08RSY8/rgiaVaVTVeSde3REqt1UBH1Zf41GR35vmCNUPTLjQFBeRdvoIAZrRIk 22AvtRiWTYmuYLuDRbm/4yZxLYrfY7brDxpQMBf5nubB22Lhe65QTW0UiXJezrl9UJqR oJ1A== X-Gm-Message-State: AOJu0Ywp5KoAxH11gFVQJDbObxpyQZL9al9Xrszq3ZRI+9vZ6eC5xUX4 qQBDg8LUkWVkFp2gk4rCt18FeWm6+/weedH+hIMMsFgsNFF5ReG9m4nqhCFLDVr5u0FlZ6uOFMT TPAhgAxIAXAmOGKg7aZDVWGb+HrJ1eUNeh+I= X-Google-Smtp-Source: AGHT+IFOlkt89yV7Au1dapbBBYnk8AmJEgyuZYHFhMeyivPrvKWAzhUhchn6yOo0GNAF5YaJgw11x/6Mj9G++bSQk/U= X-Received: by 2002:a05:6902:c0a:b0:de5:5706:b956 with SMTP id fs10-20020a0569020c0a00b00de55706b956mr14289703ybb.35.1714472128111; Tue, 30 Apr 2024 03:15:28 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <4F094EDA-5058-407D-AF39-06FD934FDE1F@sakiot.com> <5AB29936-48D9-461B-B531-3FB7FC661C46@sakiot.com> <8CA4A653-23F3-4F70-90D7-88BB0F4170AE@sakiot.com> In-Reply-To: <8CA4A653-23F3-4F70-90D7-88BB0F4170AE@sakiot.com> Date: Tue, 30 Apr 2024 13:15:10 +0300 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath To: Saki Takamachi Cc: php internals Content-Type: multipart/alternative; boundary="0000000000002c6cf006174da686" From: drealecs@gmail.com (=?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?=) --0000000000002c6cf006174da686 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2024 at 7:31=E2=80=AFAM Saki Takamachi wr= ote: > Hi, > > If there is no further discussion, I will start voting tomorrow. (I > haven't decided on the time yet.) > https://wiki.php.net/rfc/support_object_type_in_bcmath > > > Just one small note from me, for mod operation, related to scale there is a mention of "Use the scale of the dividend as is". In reality, I think it should be the same as add and sub, "The larger scale of the two values is applied". In this way, something like this can work by default: https://3v4l.org/Nism= E Regards, Alex --0000000000002c6cf006174da686 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Apr 30, 2024 at 7:31=E2=80=AFAM S= aki Takamachi <saki@sakiot.com>= ; wrote:
Hi,

If there is no further discussion, I will start voting tomorrow. (I haven&#= 39;t decided on the time yet.)
https://wiki.php.net/rfc/support_object_type_i= n_bcmath



Just one small note from me, for m= od operation, related to scale there is a mention of "Use the scale of= the dividend as is".
In reality, I think it should be t= he same as add and sub, "The larger scale of the two values is applied= ".
In this way, something like this can work by default: https://3v4l.org/NismE
Regards,
Alex

--0000000000002c6cf006174da686--