Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123497 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 687F21A009C for ; Mon, 3 Jun 2024 18:04:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1717437937; bh=Hml/8MOclXUpi6MXx1pGq63tRiYn9JVbtWq699TT1Co=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hXTMA4jQY32pYiAwkn7fmarxApZl5vb/zPMdclfHcPxoaSRWEkdEtKYGP4tilQ5us bX1jW0DQPMAt+a0zd3tC6bNTzTFCes3H0fLhhGjnzdV1tULAKb19Gtvtm27jNM86u0 e8GYBAJ2soU2eyAefFQo/quw5oppsu3uz/Ks/goAjHNe8QJX/nEsB+5v0ctFMFi6n2 sF3mGlZL8WvNsSeinwYytvC1kHJLsZJkXBYo00Km78wC5LaMFWp2tyBTeosFKLWuMD rAl3ATbX5BnFwbMv0xMoL02yqFTnpIiCc7gp6noayuzfHNTwYz6DYdNoM5UfH3jisA H5rV9qBcbKW7A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 05ABA18086E for ; Mon, 3 Jun 2024 18:05:37 +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 ; Mon, 3 Jun 2024 18:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1717437872; bh=S9l/UICAvAT7zj6JdWLF3fkiXVCkktD0p9nyUK/ENkw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=ZWKscoC22kbQ9G1qIDqmca0nP7YcRqtKQyQd/FEAAHAflI5m146WeqVVAs8DFliiL Gv0ww3sUUk4qgBQKcEdBf0IfbkkfdPePBOZaAEiLm5grabUEYYWNI7jHJ5COGwm2PG 3ixxj3k0Oynl2oNw3Bxrte9hc/IqTUN3mY1V+53peAV+EKRGeZaqAyMeCFCDLN4PRV brFvnH1cZZx/gL8OYKaGcgoEivybvI0gzDRP07AdIhfXaWJYQsjoaJtM7qjCESgMAT 9RtkrbTggeTosMDu7FnA7+CV4ujfFPXcvLWqmXRqUTOo8LyxdqChNqo82iadBSn8SV Z1F9qjuMyL8oQ== Message-ID: <55c6d002-24ee-4790-959c-fbe249369448@bastelstu.be> Date: Mon, 3 Jun 2024 20:04:30 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] [discussion] Correctly name the rounding mode and make it an Enum To: Jorg Sowa , "Gina P. Banyard" Cc: Larry Garfield , php internals References: <81CBE5A8-9FAF-40DA-8EAB-9F19C2278E75@sakiot.com> <73ae49a3-473a-46f2-add6-164b0a01e357@app.fastmail.com> <5iUDJtfp_0xWjhfj9MpeJhmZz5awy0RyBF3udkM1TjF5HRfbMKoZrqVNJJWM_g07J1oLDZxsJh_6WbGEaqdNj6ZiE96SjLhfv_r62YTMiRo=@gpb.moe> Content-Language: en-US In-Reply-To: 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 On 6/2/24 23:26, Jorg Sowa wrote: > Far more people search for `ceiling` than `round toward positive infinity` > or `round positive infinity`. Of course, I may be wrong by choosing Could it be the case that folks do not need to search as much for “towards positive infinity”, because in contrast to “ceiling” there is no room for misunderstanding about what that would mean? My native language (German) has no equivalent of “Ceiling” and “Floor”. We only have “aufrunden” (rounding up) and “abrunden” (rounding down), which we have determined to be too easy to misunderstand with regard to how they interact with negative numbers. I find “Ceiling” and “Floor” equally unclear and would likely need to look up their behavior when facing negative numbers in the documentation. Best regards Tim Düsterhus