Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123586 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 C3C741A009C for ; Tue, 11 Jun 2024 19:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718135301; bh=kpita6REXG+kDgjENXg0pPmoziLtDW+UXz9/w2hOC3Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HO/G3WbYtfpJeGP9rgwqCFvBVUFbt3hkDVZ5B9H5LG5d2Wwy3/QlEb8zRsFa2XXrV Yo4hXFX1050U5Zm+ap2zZXUJl4m6OQ5hTmJ5moXHbzBxzLmbHyHMP5HhCSs+F211YK V0iBChQPcK8XvbzFAzzRWkUXNb0HAk4CcAHXhgRs39Vz9XqmRB4BrU/RLzIsTpX/AB o+OFqCEGTlboqxUU8tzB0Hg5oHvn07cNpRM6utxIG9reEW/fN8MrM08KDKLu7HU9KE ILeBEJkuCiV59jWENUNdtbmQjp784XGdmzj6S7x8agaZhc4Zs22VrSPYgqGRDGKxdn n2jkJUG65xNww== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D70E318005B for ; Tue, 11 Jun 2024 19:48:20 +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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 11 Jun 2024 19:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1718135230; bh=VE0eEOqrKyQBG7EIdcF0SSZ4JAqVdcIAhwt6iaAc/Cs=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=RV2trIa3vIj14YIK2TFf6kDn8swSYRemraCha1kjU1pyZtei1A4sEMvJ54ZyK6Mc1 QjgqOFjsOnA6bQsdik0iryYCnlW1gPwjFd7Fc5FsZzcWqRfF3373cSRIEN5ReBww7M 9rcxT+oOwVzG8b2kHBbcmbthGcwYDhm0Z5Kf+GCij02U1CnJODmCyukXmCijUKWpDI 2HgO0aKmkyCJ3Jd93Munafuw/KWqsmuaqq63xgxHCYh145+OsnsfBIMn97HaSCDPtH emmv/ZmrYI6tqKzwvcTxofqJx9baYnOAakIjFie7d5nTPi4y2wteaCmrMLjrzy9duJ un88NRndZiKhg== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Date: Tue, 11 Jun 2024 21:47:09 +0200 To: Saki Takamachi Cc: "Gina P. Banyard" , Jorg Sowa , php internals Subject: Re: [PHP-DEV] [RFC] [discussion] Correctly name the rounding mode and make it an Enum In-Reply-To: <6E690732-8BED-4A01-8385-648E7CEDFD9F@sakiot.com> References: <9zUVZKaEYixjCLLhviQPYFQtSAEhsRMWL6xbKeogzAGsH-STebN9JqJxITAPVfdKTNu7gEs_m77OkIcOzaiscoajx8Hp8VWRKkhTTCPkGko=@gpb.moe> <6E690732-8BED-4A01-8385-648E7CEDFD9F@sakiot.com> Message-ID: <70f63dd2e0ba7959a9e3bb7fa68ce14a@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2024-06-08 02:29, schrieb Saki Takamachi: > 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. 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. Best regards Tim Düsterhus