Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128449 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 lists.php.net (Postfix) with ESMTPS id B16411A00BC for ; Tue, 12 Aug 2025 07:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1754982942; bh=O098NZPWbOrK5gOVn+A+BBLIJkCCEdgdEySZSgiTIYs=; h=References:In-Reply-To:From:Date:Subject:To:From; b=doY/QOKWSzfhTTm3QS3AtDyffPphSidoIR/gJhRToRWD6BXcHnch/3VFXWaxYakz0 z33GE1nf/KhzRYOp/yueHAXuOBC2cRACkpoJKIGwaBoku7TVlOWbuOXQtYUk24bFnC penInWbJQJOQIT99/7PuHiB16LYy0rcKbYlpkBryhNaYLYfHfi/HhE8OnRCqvrymyN VKR1nFpU4sjI7hXs1Ysu4bObhHJyyK9wZFe/yLQaBytgwklEwRVR9QwFH9/hYCz4n6 xfm6cSjm7Qav2/EtzrAUf83IZEtxchbflV2ZR1NuB9c8KHTN0cpjjViOc+3PXIFluD uJ6WUj/aeZW0A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DDDCD180084 for ; Tue, 12 Aug 2025 07:15:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 Aug 2025 07:15:41 +0000 (UTC) Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-604bff84741so9556132a12.2 for ; Tue, 12 Aug 2025 00:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1754983038; x=1755587838; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=O098NZPWbOrK5gOVn+A+BBLIJkCCEdgdEySZSgiTIYs=; b=I6Ox+l6GArHjOGvGsWCt6czNwGZqYklM7Tb7rYVejFN4bW8yAQFc3avaQw1d6pJjrT 5mfwVaop5UGeZ/fMnAeWqWiosFgNEmL8d+5K1SRV/0aga2LMnof7OSgQHmK3R/i7veaK bhYYTFbEHcGx6Xf6C0tuuFKW0NBnYnBKDSbPQAellp4fd2sa7dutw/isfwdKgfedfJZ5 pGSRyBaTGzocVWvC2SwvI5yJEaq5mWvrhEgemDYEV3eTmWXPYV3iQBC2vaq2QX3TUhLF 7ua15EZ4rl/HRkbyW3wLky63M28EYeGilWrHfWap1ESXtLl00PqWR6i0rXNnHWfbzkAj YcaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754983038; x=1755587838; h=content-transfer-encoding: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=O098NZPWbOrK5gOVn+A+BBLIJkCCEdgdEySZSgiTIYs=; b=WHS0QvD4tiNil+5XxYniQJfTkLGpoucvkNEGV6D52oDZtwtWT4ljKSDlhnlggLSgE8 AqAD5llSWNTQ2Rk9wJnnFQzKwTrWY4r3M0OfqEBt+NaU89cHOaVaXTTav32G2U/E0Jw5 nemnV2OCimwTlmFLqtboLiHZYzGTFCq4AsoSqKDDO/55MdDDbttZuspBmxpe2MbBY8Yo s9nzBe62l2cHQSxA1TxkCMYjHm9QCRnGn6mbJ/+HOO/YMdXzVgnOl7Ws1EH7itrLvQLk FKHWpZ+koouFuReC2johWQShAiMHwCJxkrR59XvsMdheVYzu+xa80PhDK7S+f7ZZqR2C t/SQ== X-Gm-Message-State: AOJu0Yy91rl8nuVIginpmjkfeD4D1UbvR5bVYVGm3bYEwN5RHtuUPd4X +1bBV165t4PTuA8B9wp++oNCdXhz4kIbfPRcV5JnD3QaMG0ynidO/Wa8Y3hd7B1KoTPgAYWuiqE r7bTGXC/dUQ7+0GKrCgy1GEYIUGS4JpHm8JFJ X-Gm-Gg: ASbGncux1jkEBY79P9gEkxsI1S9uqRZopoS4TiSuh4U/XecK9sEoDLVVN1ThiNcpLr7 HbAomzlqTjTSenzrPgEz4laMmyQoEZDmNzjERY4SIA5DIe3ShRx0sxeQ/4ppSHOPITXwb53bVwS 7kVeviNbd/Q6oPn+OWD2p3K3m+67tLOeiDLgsS9QSA2qo2xnHabYcN9ks+rSGXpeZhd/td/9jGu dOjTbNh/9dBG+wzbVd1veHty21rMRPiNzmLCxY9 X-Google-Smtp-Source: AGHT+IH/4wzWNfOLmrC7Q6xAx5qw/lqYOx5TB4oDH3sOubMi+gRovc57LIoFQcMiifpZCX+SdaLlI8GLhr6uHZM9Ubk= X-Received: by 2002:a05:6402:3489:b0:618:1554:a6bc with SMTP id 4fb4d7f45d1cf-6184ea115e5mr1654238a12.3.1754983037716; Tue, 12 Aug 2025 00:17:17 -0700 (PDT) Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 12 Aug 2025 09:17:06 +0200 X-Gm-Features: Ac12FXweZnGwu2g03VnKcLO3wz3YfAVVxb6RGZuWbUvZyyveghlSVuP6uUEg9dk Message-ID: Subject: [PHP-DEV] Re: [RFC] Add "is_representable_as_float()" and "is_representable_as_int()" functions To: PHP internals list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: alex.daubois+php@gmail.com (Alexandre Daubois) Hi Internals, This is a friendly reminder that this RFC has been under discussion for a couple of weeks. Today marks two weeks since the announcement of this RFC. After some uneventful discussions, I am wondering how we should proceed now. Would you like to continue the discussion, or perhaps initiate a vote? With the feature freeze imminent (tomorrow, if I'm right?), I am not sure that the RFC would be implemented in 8.5 if it is accepted given that the vote lasts at least a week. What's the best way to proceed? The implementation is still available at https://github.com/php/php-src/pull/19308. Best, Alexandre Daubois Le mar. 29 juil. 2025 =C3=A0 14:52, Alexandre Daubois a =C3=A9crit : > > Hi internals, > > I would like to present the RFC to add the > "is_representable_as_float()" and "is_representable_as_int()" > functions. These functions provide developers with a way to check > whether values can be losslessly converted between integer and > floating-point representations. > > https://wiki.php.net/rfc/is-representable-as-float-int > > Best, > Alexandre Daubois