Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121691 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8951 invoked from network); 15 Nov 2023 23:43:20 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Nov 2023 23:43:20 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7620C180033 for ; Wed, 15 Nov 2023 15:43:19 -0800 (PST) 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.9 required=5.0 tests=BAYES_00,DMARC_MISSING, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (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 ; Wed, 15 Nov 2023 15:43:16 -0800 (PST) Received: by mail-vs1-f47.google.com with SMTP id ada2fe7eead31-45ef8c21e8aso75923137.1 for ; Wed, 15 Nov 2023 15:43:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700091795; x=1700696595; h=content-transfer-encoding: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=MwGzXsWTE0bgc43O9s+xeigdenpAR9iznERn+ZLJGog=; b=TjXRz+TXKLqpMfVzHnay728TVfV3Lsg/e6PsL2aCxT4ZG4h24aGWE2jVfCNggxLBGU gQYHjlFiAz9BvxT+po4W1JI8wmpFPaDsftSjMfsTGhJWAGXuOdHrVhD8oWsDQNxISoTW d34WnkZcfBjkgDgDE07lAoysDlhuXpqnvra2xoHBx73cyY2FByb/2y7awjd0iLWjRKqw w0UQ9WeFxqvNzJ8yMLRuTW2JeI+fb9n38wWpgZdud9iGbJIk9VqqwwWlHk+8C1sLChgC LW8Xs+eMXwjUjVed081YOknazRuSPmzXylbkto4qrn+6jAklP8CZJf56Vh3v7i8XEXDY QeXQ== X-Gm-Message-State: AOJu0Yw5KXw0fh/JFl70b+Wlx8gNRUnsh1mTx8f6rFWeFIEpnT5SwwB0 Nk+Zk1CfdqhXWu4ElnbxAbdiEb2NtD7SGLFj1Zg= X-Google-Smtp-Source: AGHT+IH2HxG5pRwTltjfPkX6iXbrElIrc3ZgZI1mVPGU7sUG5OLkcvKFDCp9vUBcbVfx1NjkGpPhPFimXNT2PszbOXg= X-Received: by 2002:a67:c196:0:b0:45d:9d27:215c with SMTP id h22-20020a67c196000000b0045d9d27215cmr14302182vsj.1.1700091795137; Wed, 15 Nov 2023 15:43:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 15 Nov 2023 16:42:59 -0700 Message-ID: To: Jorg Sowa Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [VOTE] Add 4 new rounding modes to round() function From: levim@php.net (Levi Morrison) On Wed, Nov 15, 2023 at 2:26=E2=80=AFPM Jorg Sowa wro= te: > > Hello internals! > I have just opened voting on the RFC to add 4 new rounding modes to round= () > function. > > Voting will end November 30th, 00:00 GMT. > > Link: > https://wiki.php.net/rfc/new_rounding_modes_to_round_function > > I'm sorry for previous message, but completely missed the title of the > message. > > Kind regards, > Jorg I didn't pay attention to the discussion. Sorry. I object to changing the intl code to add aliases. The intl extension is a wrapper around ICU, and I don't think it's a wise choice to modify it because you think "ROUND_TOWARD_ZERO" is better than "ROUND_DOWN". I agree the name is better, but that's not really how extension maintenance should work. I definitely don't think we should then _deprecate_ the ROUND_DOWN/ROUND_UP constants in ICU, given that the extension itself hasn't deprecated them and is still maintained. I am surprised nobody pointed this out before. I don't have any objection to the rounding modes themselves.