Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121595 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 3709 invoked from network); 6 Nov 2023 02:04:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Nov 2023 02:04:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AF7A31804B3 for ; Sun, 5 Nov 2023 18:04:27 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 5 Nov 2023 18:04:27 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-507a98517f3so4905083e87.0 for ; Sun, 05 Nov 2023 18:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699236265; x=1699841065; darn=lists.php.net; h=to:references:message-id:date:cc:in-reply-to:from:subject :mime-version:content-transfer-encoding:from:to:cc:subject:date :message-id:reply-to; bh=bBxx0kqNjOUzpKeiwVrM/39BIUzWK1ktlZaHB1uNtxU=; b=GPUvhlpXDuaJKE31I/iM4YrskXlS0abBu3d/ZPCSJ2KQem3IoC3v6yabRU/FI5J6fI QzmwvHV9zXfglJR111MkPHIkKX6DB7EXmKsMc8N+i4w0cWaGWNNPbUmLtRlzp/sw6+xe ZYf0jjZDk1oKWJf440DAK1lzDQV5F+aIeByz5ooF1hw9yUtB23J/PUypvnm4RA+QktJC tesN/tJCEqTQneQ/rBsx3c58rsOCsbt/bc8o8zMoZ8Nq9ji0Jlb1k1qwU3HZt76nu/Nv Ud8qC+lJyRvCJL01sTrDo3pLVEfowajsKzwkH0eAw7xZf1xKEIiQozP58UmvtwrEdA5u MUTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699236265; x=1699841065; h=to:references:message-id:date:cc:in-reply-to:from:subject :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=bBxx0kqNjOUzpKeiwVrM/39BIUzWK1ktlZaHB1uNtxU=; b=JevLCnOMPM9q9/q0TdnOf6dUBoWrbEzBKpZ8LnBX1XAejwJnB6e5r3jyxjw0ILLBbr SHFbQ6SCF5A3DrUx5/W1VjuWHKGJyKMvtG2YW4cchvnk3vd2sEuSuUmZGKQGwxgUJGT5 o5rbWdu18W7W02jgl78RHEJx8YqzGD2qfmJ6rMaGpM74G/gN4i62MhSAHmqCaeX/pPyT YNzoJAV4JGhdx/R9CKKumtAQed4i/7nE+2bRIDJiQgkjMlBI18DEkQ2DJ232pY9Ej9Wh X5fFk7U7OnKnh2v4K5P8T0dzY2Kllpo+2ws1KFxKCs27C6oSj1IMEqF6xKn6ptW2+AEz 3PgQ== X-Gm-Message-State: AOJu0YyfGrbKxDjx2vXRL3FOIL0Hf8Y8k3CqhnPHI13bBaJpa4H9nsXr WR3T7X5hFxbi3MVB1iYNIJ4= X-Google-Smtp-Source: AGHT+IEnb1Z9cOS08xpm4QkGncEKFp5tP4s+dhXLzHxQnOzPZ5FovPsNa5y/gIyrLvxpe0oa9iQVsA== X-Received: by 2002:ac2:5ec3:0:b0:507:a16d:6699 with SMTP id d3-20020ac25ec3000000b00507a16d6699mr18698611lfq.13.1699236264962; Sun, 05 Nov 2023 18:04:24 -0800 (PST) Received: from smtpclient.apple ([178.197.194.78]) by smtp.gmail.com with ESMTPSA id c19-20020aa7d613000000b00537666d307csm3777833edr.32.2023.11.05.18.04.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Nov 2023 18:04:24 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) In-Reply-To: Cc: PHP internals Date: Mon, 6 Nov 2023 03:04:13 +0100 Message-ID: References: To: Saki Takamachi X-Mailer: iPhone Mail (20H19) Subject: Re: [PHP-DEV] [RFC] [Discussion] Change the edge case of round() From: claude.pache@gmail.com (Claude Pache) > Le 5 nov. 2023 =C3=A0 08:31, Saki Takamachi a =C3=A9crit= : > =EF=BB=BFHi, >=20 > It's almost been two weeks since I opened this discussion. If there are no= other opinions, I am thinking of starting a vote tomorrow or later. >=20 > Regards. >=20 > Saki Hi Saki, Reading the RFC, it is unclear for me what are the benefits of the change, a= nd whether it is worth the subtle breaking of existing code that implicitly r= elies on the current behaviour. =E2=80=9CFP is just FP=E2=80=9D looks like a= n ideal position, and one that has a counteragument given in the RFC that in= troduced the current behaviour.=20 We could live with any behaviour of round(), and they are arguments on both s= ides. My issue at this point is not exactly what behaviour we have picked, b= ut whether changing between the two is sufficiently motivated.=20 =E2=80=94Claude=20