Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121988 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20321 invoked from network); 12 Dec 2023 08:51:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Dec 2023 08:51:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2857718006E for ; Tue, 12 Dec 2023 00:51:25 -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=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HTML_MESSAGE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 ; Tue, 12 Dec 2023 00:51:24 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5e1f852cb46so925817b3.2 for ; Tue, 12 Dec 2023 00:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interi-co.20230601.gappssmtp.com; s=20230601; t=1702371067; x=1702975867; 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=xkrs/ijs3lRBWk7fYNRd2QpDWkHG+6WhOEbRLDIQjKY=; b=NDb/XAcw11pnkKjkHLIM4uvSeTyvZvdTPBDFIpHjRHbTenmgMS1qh/+OkdTzvuYoxT r4iDDe/YCn73DWJ5vnheXUio5b8EtBDABM3B+OgZcu+eFS4D/T4X6MAmm2DEBcoQ5dny OFCcJpZWs+hrrcil1NGcraV+03NMB0qAPtWEKPwmfzKwLyRgO9yTBJaZyYwmcHQe3DEN +I0ZvOJ8IFuJ8fRGwyU7IRQpsY9DQ7mhHdGwhfMkr5lV/RyKgpNlSj0xTkXZkAC/aohF 1NgJGMesy8YPkLmtau1MwN7y62VgnH3yBjxx4tqQ460JdMpcTBKdR3WbWBDuoG6jwkHF 9bHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702371067; x=1702975867; 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=xkrs/ijs3lRBWk7fYNRd2QpDWkHG+6WhOEbRLDIQjKY=; b=Q27oJ4zELf3PER6FDq2/wqPgle0O5jYIixfH+vXBYat8JkT0lNZ9zBoN+Tj1RWwIPd gY+Ec+TS2RZv77QSk7EV6nTzO7Rc0mV3pxN93nxBqjV77yF0Ze3DlUZArzHi4gglnS+H OF7RTvvDkpt/Nco4A9DKGJibS7yVpcNJDh1Vafjh1kMA0DErHhn1ub/sBHJ/qFVFMsRa 49DUGM2Y1t0lN6m9f7oZFhg2EhsUeeHcSv0RP9WvrvkxZ5GeEbLoLLz/2OQj4TibkW+W +Pp1CouV4pV2qqgvBPoKIcgdnD38FQMv/kcqwU82bD7IIgYDAZLIrEj0NoZVPII/TplY Md2Q== X-Gm-Message-State: AOJu0Ywvdo6e6j53PC9by4VR49xOBZ4JUE9ZdMKathcCXu/sCMw9YWer O+RT6gavCB4Vj+NAAhBYZ8k84LFzdA6Dagdr8Pr5sbnWqtqstUiu X-Google-Smtp-Source: AGHT+IEnKlrvoeaMGkv+LVkMt/trPUGIjWwzEIaRDy8CAbwi8dOeGAgJENl45EaXR8QSiilA1hVgq4dYYqKAZzmzyys= X-Received: by 2002:a0d:f682:0:b0:5d7:1940:8dd7 with SMTP id g124-20020a0df682000000b005d719408dd7mr2829215ywf.62.1702371067527; Tue, 12 Dec 2023 00:51:07 -0800 (PST) MIME-Version: 1.0 References: <18c42fdbb30.2831.17a3710df6d58f02ca570cc47e197a63@interi.co> In-Reply-To: <18c42fdbb30.2831.17a3710df6d58f02ca570cc47e197a63@interi.co> Date: Tue, 12 Dec 2023 17:50:56 +0900 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000c19704060c4c26a6" Subject: Re: Proposal: Arbitrary precision native scalar type From: alex.pravdin@interi.co (Alexander Pravdin) --000000000000c19704060c4c26a6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 7, 2023 at 3:36=E2=80=AFPM Alex Pravdin wrote: Ext-decimal: > ... > - Workaround: implements the Decimal class that allows basic regular math > operations. > I just found out that under PHP 8.3, basic arithmetic operations on the Decimal object variables are no longer supported and cause TypeError. So this is one more point to implementing native decimals in PHP. Best, Alex --000000000000c19704060c4c26a6--