Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121222 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 3414 invoked from network); 4 Oct 2023 22:23:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Oct 2023 22:23:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8058C180503 for ; Wed, 4 Oct 2023 15:23:39 -0700 (PDT) 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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, 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-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 ; Wed, 4 Oct 2023 15:23:39 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so3953341fa.2 for ; Wed, 04 Oct 2023 15:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696458217; x=1697063017; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=89ojNDvHqT0/7d/j5/oVs1Q3N3JaWnDEdMMQxt0fSA0=; b=UAm+BQ0Ea+qfcHhZAi5LlJ4C+jLo5sxHq/ewmqsjPvRgHLn8LFGDiqa7x5Y5xrxaXS YG6ZeETeg+RaA3EhHUmuH/PaqQC4NXn5SubGjfK10CBsp1CNSKxOFl6BASnQSpp6fZJn czCp2Q34bcXFoGFoABEFkxAW0aiWx4QcjFPyjM8uu24BaujMAM2fjdSkFsB/3EIHy33H S40E9BhbTHfs+ty/NZjcsfB+mGx+tSzMMBJEEJCjezAUnUnPX+hFikYORmYRJiHwdZ2x 4KkUyYmdVm5H2Y/kss6RSJyZOVurB06bAvWSiv/3/41EplZyTTkDEt4G3kcxl6fQunDi DXYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696458217; x=1697063017; h=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=89ojNDvHqT0/7d/j5/oVs1Q3N3JaWnDEdMMQxt0fSA0=; b=b1oWK+fCQ+ebNVlaj8HVIJQ6/Mh+ywsYgcpt5X+i3FvYKB3spXwL36yMCLltoIO8dW +6CV6PfGbrBjso4cb/s/3XyjuK1PypVccKinG6LiA/o3OMCSSkQ+yC2hgPUP65bEiU0/ 5P+rpzZ93Mc40CcpeUiktfOi8dPEQyj2DZpPtAogkPvZ2I2dAOB97c/KnImijGFn6AwM jIks0kCv72f2gKaCgRP38F8N1uciq5HgI4tBD4lCK6Z4BeV1o4Dvs91QUxBHK/OGiEda EeWJGUat6cG11wH+rO8zYyb1Xc2MgWfBiZf2wkFBfvikeODh9N+8Mhroh92o1KivPC8t WE9A== X-Gm-Message-State: AOJu0Yw9ugoJN4puy1i6udsviIbQNFab7fhBuj583y/9+0jZfPSaQ46j jsk1fkChOhv/TJpiGaH+EWZRNr+uSswAVSxKrhbOEU1h X-Google-Smtp-Source: AGHT+IHTa4c7lROmPyf3gIfvMVcoLdYcZN9VlqATSe8YgAQhIt4cSE79MJkGSclavqXWKEUQlZ30Tbn9XibihLYf3E0= X-Received: by 2002:a2e:b70d:0:b0:2c1:375a:b37c with SMTP id j13-20020a2eb70d000000b002c1375ab37cmr3098442ljo.40.1696458217061; Wed, 04 Oct 2023 15:23:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 5 Oct 2023 00:23:25 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000006783480606eb752f" Subject: Re: [RFC] [Discussion] Add 4 new rounding modes to round() function From: jorg.sowa@gmail.com (Jorg Sowa) --0000000000006783480606eb752f Content-Type: text/plain; charset="UTF-8" Thank you all for the discussion. I modified description of the RFC and added deprecation of constants ROUND_UP and ROUND_DOWN from Intl extension as an additional voting. Thanks also for input about possible mode ROUND_STOCHASTIC, however I think it's the idea for the extension and not the addition to the standard functions. I would like to start the voting in coming days. Kind regards, Jorg --0000000000006783480606eb752f--