Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71246 invoked from network); 28 Jun 2016 16:45:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2016 16:45:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.86 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.86 mx105.easyname.com Received: from [77.244.243.86] ([77.244.243.86:57485] helo=mx207.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/74-41838-5C9A2775 for ; Tue, 28 Jun 2016 12:45:57 -0400 Received: from cable-81-173-134-219.netcologne.de ([81.173.134.219] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bHw92-0003dc-Rs; Tue, 28 Jun 2016 16:45:52 +0000 Reply-To: internals@lists.php.net References: <28e5ac75-0d94-a111-f702-f9594e7e7a14@fleshgrinder.com> To: Jesse Schalken , PHP internals , Dan Ackroyd Message-ID: <0fab2a23-45a8-5618-1bbb-ef8174a84add@fleshgrinder.com> Date: Tue, 28 Jun 2016 18:45:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jQTv6wq7KcCj5UdJfljldTRfLiamqGsbc" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC DISCUSSION] var_info From: php@fleshgrinder.com (Fleshgrinder) --jQTv6wq7KcCj5UdJfljldTRfLiamqGsbc Content-Type: multipart/mixed; boundary="rCncuIhO21A6ut6rOSbIIwRDVB2mk7MA6" From: Fleshgrinder Reply-To: internals@lists.php.net To: Jesse Schalken , PHP internals , Dan Ackroyd Message-ID: <0fab2a23-45a8-5618-1bbb-ef8174a84add@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC DISCUSSION] var_info References: <28e5ac75-0d94-a111-f702-f9594e7e7a14@fleshgrinder.com> In-Reply-To: --rCncuIhO21A6ut6rOSbIIwRDVB2mk7MA6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 6/28/2016 12:44 AM, Dan Ackroyd wrote: > The RFC doesn't seem to state any reason why this should be in core, > rather than in a userland library. > I will extend the RFC on the weekend with the missing information, thanks for the heads up. On 6/28/2016 4:21 AM, Jesse Schalken wrote: > I think IEEE 754 only specifies that -0.0 and +0.0 be considered equal = for > the purpose of numeric equality. That doesn't necessarily mean converti= ng > to a string in some manner should produce the same result. It is alread= y > the case that (string)(float)-0.0 =3D=3D=3D "-0" and this is how I chec= k for -0.0 > in PHP. >=20 Exactly, the question is whether this function should report it or not. --=20 Richard "Fleshgrinder" Fussenegger --rCncuIhO21A6ut6rOSbIIwRDVB2mk7MA6-- --jQTv6wq7KcCj5UdJfljldTRfLiamqGsbc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXcqm/AAoJEOKkKcqFPVVrw3MQALN+XyYkzH7EkiEIVflzg2KV CpPHoebtXGXwoNPde7E3D7xl/MpbI68gcv5fItDh6pinY6QHeKOrQGBtY6mz/Ixc ButWHnh5VWbKLUoH4vlgMC/WwZq+ffnlSVPbjM2lIMpCK4lSn6co/nVkWEcShIV+ HP99mxUPx3XmaoTPV4yTMVrqDtfgVoESu204CFf8pYWhkBfSERoGdHz8oI7EabkF Aa7bJ09cZx6tB2LIbf6bQsc0pA8MiAhcFXBYbj/T/K5fZBP5t9XBqcy62YeXc6nB GtlrAZ6P4Sn6rvCIHnyilgn0GZBpJonsxddo+z+KcQqwdilFeEM18wPO6uT71xub vrJM/HRRde2Q/82nQsZYBCA/Tw0tCiEcXruUqjleA7VYSzoMJDyxwS/JAvAYSzIs KTNms0MBX34/jskG2h75vMOXuZEAPr5UCL0fL5hbxX0X7khjBf/JUB4qnJbk7Mj+ 0zehQuXM6eMBTkIP30F4K0ytpz1x4JhggjQh3N/IG5Zw0kMTHfs9YR3VVN+OM/2m sqM1vlvDXE1N9EuGbeJjvzyI/FcWqJroA7RWzInF8hJcoYfzSCqtb8OvJBhJU9Ke MQwI4cgk4ozeSH1WhesWfPEbU38ySFrJyBN6B4UjTROJzvt38vd8te385up2kgV6 g2zvUHeuRBn7F2VUIxsq =LfJr -----END PGP SIGNATURE----- --jQTv6wq7KcCj5UdJfljldTRfLiamqGsbc--