Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121229 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 26630 invoked from network); 5 Oct 2023 04:25:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Oct 2023 04:25:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A233418004A for ; Wed, 4 Oct 2023 21:25:23 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (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 21:25:23 -0700 (PDT) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-578d0dcd4e1so341731a12.2 for ; Wed, 04 Oct 2023 21:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696479922; x=1697084722; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bXDrDV/D5fyND0bxAb4pHuh2wCk9hehaLzSnFrH3kdg=; b=RM4L1oaLfdOZcOQKz6TAR5Pufw/tZETq1FJ3jLFkfNHqphXfDl9ZH3+LomgydlkbyV 6Kwvoyv6zZBuFH74HbDP0qSxT3f2DiJhMu2v7GZlLOjPLOEu6N4v2Op4uFHXXLhAIjQV Qm5UTch5n3fiYwhJ679HHsSdQby2kAqzLpc+a83K0I7b6IORdf1EPUksj2CxfK+1e/Hy njXrNypu3IW6OTAxK/F1hqSb+GbWaicn564LdzN5lIFV8WPRArKUkH+IzOjaFNsT9aGa ccuZrD8aHIlZaUBDhbmSuRbUaFN5Gby/+g/lxSSM8xNFSnXGPLs36e0QjSjfOE+JvUN4 PkEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696479922; x=1697084722; 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=bXDrDV/D5fyND0bxAb4pHuh2wCk9hehaLzSnFrH3kdg=; b=AwWZCp1ctkJULvCLyjdwxGYeBwGcWODGux7bIL6PTekmMW83DwQEJKhpB9nUV8v1Ps I0MZseBS/kDz+cqOKt9DA5IHZX5jjeiSHgg4dtumaAqRefDQzR4gkAKR/FMbYEE1B6uE 7RXQAyJjWeMzhXodsVBk7hFqoi6EkAUm1XTeHxFLmNPfyl/wukz65A8bziN5rUIRno0X iC8WJwrOfXrtil3osjWpGO1O1cPvB/nR+g3v9A8f2t2xCqUYyMjM9Jdq2TGZC8mAE2aY mgBXfmGWEJvGIlmZXxwr+yikCrLQTTRrxjiocVGlwVYJUnJEIs6cEPZT1Hh8CxtbKEqO nlbQ== X-Gm-Message-State: AOJu0Yy3l9DWD1dACD1+flXO3eW6sD0wcPwa2k+ZNJr1qRv1NQi1fYuS YhZY8d7vhNK3aAX86A/iDMkOFKP99lGFwZ0K5IJS31V6C+c= X-Google-Smtp-Source: AGHT+IEr0lG9xcATayOaIvx0KZK+nNAYvevaX3mB80f2vUXM4tL3q+wRkFEgcTroNP8HSoU8HziPpcwO11/C8JzS5ok= X-Received: by 2002:a17:90a:f414:b0:274:a5a6:120b with SMTP id ch20-20020a17090af41400b00274a5a6120bmr3902779pjb.36.1696479921686; Wed, 04 Oct 2023 21:25:21 -0700 (PDT) MIME-Version: 1.0 References: <787AC3CB-7686-49E9-96D7-2069E4C2009B@sakiot.com> In-Reply-To: <787AC3CB-7686-49E9-96D7-2069E4C2009B@sakiot.com> Date: Thu, 5 Oct 2023 11:25:10 +0700 Message-ID: To: Saki Takamachi Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000019ce000606f083ef" Subject: Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath From: pierre.php@gmail.com (Pierre Joye) --00000000000019ce000606f083ef Content-Type: text/plain; charset="UTF-8" Hi On Wed, Oct 4, 2023, 6:39 PM Saki Takamachi wrote: > Hi, Marc, Pierre > > Thank you for all the information. > > After all, I feel that BCMath and GMP have different roles. > > Arbitrary precision mathematics and very high precision mathematics are > similar but distinctly different. > I replied about the FP specific question as it can be confusing. Adding that gmp* may be a more sustainable solution as it is actively maintained and widely used. If PHP has already started integrating these things, then of course I'll > follow suit, but if not, I'm against these integrations. > > If I missed something important, could you please let me know? > theoretically I agree, both may have different uses. Practically, and within php ecosystem, they are used for the same purposes. best, Pierre > --00000000000019ce000606f083ef--