Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123591 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 396DF1A009C for ; Thu, 13 Jun 2024 01:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718242177; bh=2w9bkJg95+YdEWsr2wBn7hcbNS8EiGONFC783K/NeOY=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=D5GTqdhsSTDj+cOpJxH+lhquBmFPRExwJnvV/KJxx+b9HBsbVjB14KQ6dAMUYHcai kjardgaU41ArL3d4yfLDA6vfGctsQXCeJHR5PXcDHVpD1D6D3/pEBHkL/BEkNmbWUR y7X6lNseQsBlvb92420vtKlEhSxiUfX37kF159CuDuXsjuolDCRJhPJ1vTDVb1LZsE P24bWIIsWkW2AsMQz/hrHHg55u8a/fd4C+39J+ZxFPKO1wBP6qFmahf/G00FSzdXnQ SoEOvjpFax3eEe8CMXscMz6pMfCaDOBpOw1EZT/V5ijOCT4Cda3b9GoL6h2xeH2UES oExVfG5Y46Efw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DC1091808A8 for ; Thu, 13 Jun 2024 01:29:36 +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,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) (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 ; Thu, 13 Jun 2024 01:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1718242105; x=1718501305; bh=2w9bkJg95+YdEWsr2wBn7hcbNS8EiGONFC783K/NeOY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ZJISKiV3B6SiTd66Rbenurnk58DBXIBR9W1PjlFlatrTwatoA994z8TGadUa6T4SI 6acTu1WLrdb/5KrmscJzcqryV/tlr7a2zJmtginmOsqCUFd06T1HFr1+yEbC11tCZK qGqTZxO7fA/NhDujDHCfd6B2yphRPLexfT9pyqyQh7vCt4RgVd2xs5onla6zd5xLk/ nUQLCLbrizNHrF2LcKYfa5wPF+80XeM6EDM2r9E+/+GAemhVhGTyXZmylmiQKk3ECc OHeX96EnvYi+DgVoX0HdGbkEDzdyOZxo4ZRzXhHOF46Il+oHjRcQcPZIZ45loiMvSt Jb++/RjfB7d5w== Date: Thu, 13 Jun 2024 01:28:21 +0000 To: =?utf-8?Q?Tim_D=C3=BCsterhus?= Cc: Saki Takamachi , Jorg Sowa , php internals Subject: Re: [PHP-DEV] [RFC] [discussion] Correctly name the rounding mode and make it an Enum Message-ID: In-Reply-To: <70f63dd2e0ba7959a9e3bb7fa68ce14a@bastelstu.be> References: <9zUVZKaEYixjCLLhviQPYFQtSAEhsRMWL6xbKeogzAGsH-STebN9JqJxITAPVfdKTNu7gEs_m77OkIcOzaiscoajx8Hp8VWRKkhTTCPkGko=@gpb.moe> <6E690732-8BED-4A01-8385-648E7CEDFD9F@sakiot.com> <70f63dd2e0ba7959a9e3bb7fa68ce14a@bastelstu.be> Feedback-ID: 96993444:user:proton X-Pm-Message-ID: e17867a13f39781dc665d4f7e6f68c6a4e94b6b2 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Tuesday, 11 June 2024 at 20:47, Tim D=C3=BCsterhus wr= ote: > Hi >=20 > Am 2024-06-08 02:29, schrieb Saki Takamachi: >=20 > > Regarding 1, personally, I support Gina's opinion of only providing > > the new rounding modes as an Enum. > > This can be interpreted as changing the rounding mode to Enum, with > > the existing constants being kept simply for backward compatibility. >=20 >=20 > I've talked about this with Saki in private. We both agree that > providing the 4 new rounding modes only by means of the proposed > `RoundingMode` enum is the right choice. I have made the necessary > adjustments to the RFC text. There is a new "Rounding Modes introduced > in PHP 8.4" section that explains that the 4 constants will be removed > as part of the `RoundingMode` enum RFC. >=20 > Best regards > Tim D=C3=BCsterhus Thank you, I think other than possibly prefixing the NegativeInfinity and PositiveInfinity cases with "Towards" I am happy with the content of the RFC. Best regards, Gina P. Banyard