Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124270 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 193D81A009C for ; Mon, 8 Jul 2024 02:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720405212; bh=s6V2cg1StMhgRSqeI/IVGMSG5GjIn8gmehr0Yw7YxnQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=bWO+myrlsY2f+yVjbuEU1T8/A4SxJVzP3YD4b3OdfLfJafXFa8sKZCyl2KzTaupTf OEBO+W74+Zp4cpDIZmPU+bme67IhSrsq5uKjKJDpM7HIwEC537M1E5HYvTONvxpAQt 8IoRoOUBZ0+F2yg44BevFd6J55HVvN2Pb1pPHmCzLLlhr8gs16GA0tXo7MZz9MNgb9 THjuoi1ho+QG4kjF8vGknab+G1ZoWNCyI3vuX+QD6SPTAiTt0ZO5zdp6wWRafebd/C L33sqeyNLm32Ehj80bODzB1QY51s/kiI7OsBAqUpzhyEHS0k8DLequUXwP8Ojeivs5 uvi+VTCZqHd1A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 43067180069 for ; Mon, 8 Jul 2024 02:20:11 +0000 (UTC) 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.6 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING, HTML_MESSAGE,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from sienna.cherry.relay.mailchannels.net (sienna.cherry.relay.mailchannels.net [23.83.223.165]) (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 ; Mon, 8 Jul 2024 02:20:10 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 15C8A9038B9 for ; Mon, 8 Jul 2024 02:18:45 +0000 (UTC) Received: from nl1-ss105.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 2A59C903806 for ; Mon, 8 Jul 2024 02:18:43 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1720405123; a=rsa-sha256; cv=none; b=mXbOEC0Mt1JpuAkVMzrEgDGAkqn7uC8liA0DlNkWBagLv92s3b+cD17B+1JVFRhsmoRuyz F+g9PwWuvPEtjVBCgcLP+O0TebNKNFc/e5vzrxnPBu+lLSVXLb1zXe/KFOgGD2ub7C+XpT rQI8N7oVMOYI6VylrQkQRhgoRZaFxp5s3PGdKUL+L+HlU+/tkVBndJjyJ3iW7JiyuT7hKE /Ll02VHAMS51FMIA7GhMUZWrLM4Xo755mnvOLdgLNhMH/83WAA+otTkxelB7ZjTzfb/ww2 BGDanNDNaG+f6Usi0eS4awWAbo2iXF1KCRGQ9nIwsF6xXjQLm8Xv67LEA1jZjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1720405123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eOi9YV970LsrhAU3eYqhbW7HhOawAJ8MtgIYbINX7ps=; b=0apenbs/LHRQqByYcacbpfn6dYjh9+UxsVXjxweQH61W0mAyI+5SZbgVUzAUxqfGZQ0I0U /pXBflBnpODZeMjGvk0mpoUDJPIGHJT10sKsi0r2yEMSwtQbqKW3/hOyeEaianaes+WQ6X dZhWUrcIsthMAvKo2VF5q0dM18TbHNxfLUSGvmDOAhoUHBDCq72FG9icQ4cGOAq72rCcpf 2aHxiH469vQX3papmEbw20iNkodX6j5NH7EdQIBGGyRpmVS3V179UO7jAn/YyS9i81oKT6 CHaF3eO5+XM09cZARCXahDMg/IaHeKZy5oYFcznOe/peOA1pOJcYXvkTb8wVRQ== ARC-Authentication-Results: i=1; rspamd-7c4f8cbcf8-j7qbn; auth=pass smtp.auth=a2hosting smtp.mailfrom=php-internals_nospam@adviesenzo.nl X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|juliette@adviesenzo.nl X-MailChannels-Auth-Id: a2hosting X-Irritate-Wiry: 1cbfc6441c267214_1720405123871_3889210957 X-MC-Loop-Signature: 1720405123871:3113782881 X-MC-Ingress-Time: 1720405123871 Received: from nl1-ss105.a2hosting.com (nl1-ss105.a2hosting.com [85.187.142.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.120.89.42 (trex/6.9.2); Mon, 08 Jul 2024 02:18:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=adviesenzo.nl; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eOi9YV970LsrhAU3eYqhbW7HhOawAJ8MtgIYbINX7ps=; b=gdnU0NArFxdMEaeo+6sP3dQ6SN xoUcPVw7EBlehrtiJAyZcGJIYs1V7eSbDsBaFH+2q6+LbeciujcHSgtmrlCCKRlRA312ciQJ0XxxC yO3q6lloJNATK0WamYXqAlsFu4eVIOGGn9Cv9lpVJwKnMW7W+0p2E68m3Lx3vxzmHjRA=; Received: from mailnull by nl1-ss105.a2hosting.com with spam-scanner (Exim 4.97.1) (envelope-from ) id 1sQdxh-0000000EuPM-1X5M for internals@lists.php.net; Mon, 08 Jul 2024 04:18:41 +0200 X-ImunifyEmail-Filter-Info: QkFZRVNfSEFNIEFTTiBSQ1ZEX1RMU19BTEwgTUlEX1JIU19N QVRDSF9 GUk9NIEZST01fRVFfRU5WRlJPTSBNSU1FX1RSQUNFIE1JTUVfVU5LTk 9XTiBBUkNfTkEgUkNWRF9WSUFfU01UUF9BVVRIIEZST01fSEFTX0ROI FRPX0ROX05PTkUgUkNQVF9DT1VOVF9PTkUgSUVfVkxfUEJMX0FDQ09V TlRfMDEgVE9fTUFUQ0hfRU5WUkNQVF9BTEwgVkVSSUxPQ0tfQ0IgUkN WRF9DT1VOVF9PTkU= X-ImunifyEmail-Filter-Action: no action X-ImunifyEmail-Filter-Score: 2.05 X-ImunifyEmail-Filter-Version: 3.5.16/202406140020 Received: from [31.201.40.213] (port=64482 helo=[192.168.1.16]) by nl1-ss105.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1sQdxi-0000000EuP4-0bhE for internals@lists.php.net; Mon, 08 Jul 2024 04:18:41 +0200 Subject: Re: [PHP-DEV] [RFC] [Discussion] Allow int type argument to BCMath function To: internals@lists.php.net References: <4B682DED-4BAF-4548-9473-4A07F2722432@sakiot.com> Message-ID: <668B4C78.2000808@adviesenzo.nl> Date: Mon, 8 Jul 2024 04:18:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 In-Reply-To: <4B682DED-4BAF-4548-9473-4A07F2722432@sakiot.com> Content-Type: multipart/alternative; boundary="------------050604030002060104080702" X-AuthUser: juliette@adviesenzo.nl From: php-internals_nospam@adviesenzo.nl (Juliette Reinders Folmer) This is a multi-part message in MIME format. --------------050604030002060104080702 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 8-7-2024 3:23, Saki Takamachi wrote: > Hi all, > > I created an RFC and put it in discussion status. > https://wiki.php.net/rfc/allow_int_args_to_bcmath_function > > It's a very simple RFC, so unless there's any major discussion, I plan to start voting on this on 7/23, after two weeks have passed. > > Regards, > > Saki Hi Saki, Just wondering: why `int|string` instead of `float|string` ? In my experience, floats are the more pertinent type for which to use the BCMath extension. Smile, Juliette --------------050604030002060104080702 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 8-7-2024 3:23, Saki Takamachi wrote:
Hi all,

I created an RFC and put it in discussion status.
https://wiki.php.net/rfc/allow_int_args_to_bcmath_function

It's a very simple RFC, so unless there's any major discussion, I plan to start voting on this on 7/23, after two weeks have passed.

Regards,

Saki

Hi Saki,

Just wondering: why `int|string` instead of `float|string` ?
In my experience, floats are the more pertinent type for which to use the BCMath extension.

Smile,
Juliette

--------------050604030002060104080702--