Re: [Json] -0.0

"Matt Miller (mamille2)" <mamille2@cisco.com> Fri, 27 September 2013 21:48 UTC

Return-Path: <mamille2@cisco.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2132A21F852A for <json@ietfa.amsl.com>; Fri, 27 Sep 2013 14:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dETquthDmEGx for <json@ietfa.amsl.com>; Fri, 27 Sep 2013 14:48:45 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id 7068E21F9D4C for <json@ietf.org>; Fri, 27 Sep 2013 14:48:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7095; q=dns/txt; s=iport; t=1380318515; x=1381528115; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=vxVGqb+B4qizN9kXfEl7/JoPDywcUnbR6840gnrlV0c=; b=TYvDnU2xMw9mnA6hQCAaDgZcJ8RyY73yeG9FzISE7ieX4nPtCMNZQhwP 8ibA7vy8e9SODigKkjOMK7yezgh0kwIjbKuzhbFuoAF/R4glwr8aESx8U KQxh7pXD69HuQV4WdYZx90NkWxTVHSDVpMMYBYjV4mnVneEMkwnwZANOV I=;
X-Files: smime.p7s : 4136
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAKP8RVKtJV2d/2dsb2JhbABbgweBCsBTgSEWdIImAQEEeRACAQgiJAIwJQIEDgUIBod4uiaNfRuBCBYbB4MfgQEDkCeBMJgggySBcTk
X-IronPort-AV: E=Sophos; i="4.90,996,1371081600"; d="p7s'?scan'208"; a="265517861"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-6.cisco.com with ESMTP; 27 Sep 2013 21:48:34 +0000
Received: from xhc-rcd-x08.cisco.com (xhc-rcd-x08.cisco.com [173.37.183.82]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id r8RLmYRW010407 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 27 Sep 2013 21:48:34 GMT
Received: from xmb-aln-x11.cisco.com ([169.254.6.253]) by xhc-rcd-x08.cisco.com ([173.37.183.82]) with mapi id 14.02.0318.004; Fri, 27 Sep 2013 16:48:34 -0500
From: "Matt Miller (mamille2)" <mamille2@cisco.com>
To: John Cowan <cowan@mercury.ccil.org>
Thread-Topic: [Json] -0.0
Thread-Index: AQHOuugEUSCaY6lTdk6W2AG6IUkDfJnYr/CAgAAAmYCAAO3sAIAA1DyAgAAB8IA=
Date: Fri, 27 Sep 2013 21:48:33 +0000
Message-ID: <BF7E36B9C495A6468E8EC573603ED9411EF1E1E5@xmb-aln-x11.cisco.com>
References: <BF7E36B9C495A6468E8EC573603ED9411EF1BB0B@xmb-aln-x11.cisco.com> <CAChr6SyznBktmOLpT-EiZ5Nm_0jZ16M0tOo4aZ_jhSDb=HHDqg@mail.gmail.com> <6D5CFCAD-5B75-4246-BE42-D42E4D35C344@vpnc.org> <CAChr6SzEBdgF_Cv2ZnC1Oo2CnL06dwZqsOKA=HTVkgArcTyLEw@mail.gmail.com> <CAHBU6iu=LbwcZgEPzKgurR7s+jCUeVMEagq1knzOBWUky9SLoA@mail.gmail.com> <52454988.5030706@it.aoyama.ac.jp> <20130927214137.GC24460@mercury.ccil.org>
In-Reply-To: <20130927214137.GC24460@mercury.ccil.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [64.101.72.48]
Content-Type: multipart/signed; boundary="Apple-Mail=_68CA2302-3091-47A3-967C-887EBCAD0092"; protocol="application/pkcs7-signature"; micalg="sha1"
MIME-Version: 1.0
Cc: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>, JSON WG <json@ietf.org>, Tim Bray <tbray@textuality.com>, Paul Hoffman <paul.hoffman@vpnc.org>, R S <sayrer@gmail.com>
Subject: Re: [Json] -0.0
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Sep 2013 21:48:53 -0000

On Sep 27, 2013, at 3:41 PM, John Cowan <cowan@mercury.ccil.org>
 wrote:

> "Martin J. Dürst" scripsit:
> 
>> I have pretty little experience in this area, but that may indeed be
>> the case. And it's probably fair, as Rob says in another mail, that
>> the burden of proof is on those who claim there are implementations
>> that don't respect the difference between -0 and 0. 
> 
> $ python
> Python 2.7.3 (default, Dec 18 2012, 13:50:09)
> [GCC 4.5.3] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import json
>>>> json.loads("[-0]")
> [0]
>>>> json.loads("[-0.0]")
> [-0.0]
>>>> 
> 
> There you go (and ultrajson behaves the same way).  Saying "most"
> involves counting implementations, which is hard.
> 

/me dons hat

It appears to me that we are rehashing arguments made when this text was first discussed.  Are we bringing up any new considerations here?


- m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.