Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120374 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 87792 invoked from network); 21 May 2023 12:00:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 May 2023 12:00:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 247141804AA for ; Sun, 21 May 2023 05:00:43 -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.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, 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-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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, 21 May 2023 05:00:42 -0700 (PDT) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-510d9218506so5186906a12.1 for ; Sun, 21 May 2023 05:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20221208.gappssmtp.com; s=20221208; t=1684670441; x=1687262441; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gNaXaF+HzlbAYvBrvUZ9VK1Zo1lXyB16E0LYLxibBuc=; b=vOoSrhKeSOS1+/Kib74sGyVbHcwTX0mFyu1S5Duf9OZF9WmKuaqOtqgsbjhF9wZCV3 TwwrltvrJiJDazweX8AYKtjP2272Sq4NL/7zfbe5uWfxftIL+vreavZDWuZ6Z4G8vdGG NJVU3i85ji48iy87eoFCjNI8T99APS35ErzlTem+wjinnG7Rj9ROQb/Z/Kyua1VSi7+Z F6fLa3xmoNqwlHlZ4m+6wzyGsLp5oR5nw1VNTKU+uPJLSQ2YeZU67hJENBdzop70XMNY 5WcHuLu/l1vO03oVZT1kNeLR2Js7X2JVn4keLZFyDau4nM2S8UIc0t6En6jMW3lfRvDA AgVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684670441; x=1687262441; h=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=gNaXaF+HzlbAYvBrvUZ9VK1Zo1lXyB16E0LYLxibBuc=; b=JruEVv8VilBNR+AUIua6JdjcNjbnoEDYBwDAtQOLj9QzIEAhnHOzS1cL+4T4tjeJhx M8HuzPkhAiMQB200UVlD0myU5GaLYsNYDm74Y2cMFYU8NqvQjGreOfcpGI6W7ed/4TKv Me2Yep9Bj+bQjSNYHQuP1mOukP5rtDM9DoaLrIFqj4LTI7jdAI0DfTtS9WqQPlm1/BdI exmXOiqBOkQq30DnvPKwLJm6iUnFI9E58n/zKkKjpTNtmWDzneGTTEyLoFmILy4sq/C+ 7RtMAdkkV4oEHuEdpkossEs851Dxh9MtJB2pLOWJYOGMe5lZacOaPuCg36q03rEQu473 pCGA== X-Gm-Message-State: AC+VfDxM/zJIrcrNnj2bn5BFgIaAAdfDex/L2fGOz9plLBzgrRaHel/1 bIkDZ8IRoarEimhfz6EgWKTvKH2lpQ9QNFM1AZZIuw== X-Google-Smtp-Source: ACHHUZ4v4T8HqGswbo+jEpNY3ssxamkQsADS3pAN1XXbkWL3uMzeChJIgd1VOekqq5+rCJ0gr9bx/uWM59Q5NiarWCs= X-Received: by 2002:a05:6402:40d3:b0:508:3c23:ae95 with SMTP id z19-20020a05640240d300b005083c23ae95mr13733177edb.3.1684670441224; Sun, 21 May 2023 05:00:41 -0700 (PDT) MIME-Version: 1.0 References: <05b7e019-27d4-e6a9-2088-f712c22317a9@mabe.berlin> In-Reply-To: <05b7e019-27d4-e6a9-2088-f712c22317a9@mabe.berlin> Date: Sun, 21 May 2023 13:00:30 +0100 Message-ID: To: Marc Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] rounding integers From: Danack@basereality.com (Dan Ackroyd) On Sun, 21 May 2023 at 06:16, Marc wrote: > > Do you think this could be an acceptable BC-break No. Suggesting changing a 30 year old maths operations is a huge BC break. > or should this be a different function? Just make your own that does precisely what you want... cheers Dan Ack