Re: [Json] -0.0

R S <sayrer@gmail.com> Sat, 28 September 2013 21:52 UTC

Return-Path: <sayrer@gmail.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 3409021E8115 for <json@ietfa.amsl.com>; Sat, 28 Sep 2013 14:52:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, NO_RELAYS=-0.001]
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 szA1YEpAv8gi for <json@ietfa.amsl.com>; Sat, 28 Sep 2013 14:52:33 -0700 (PDT)
Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) by ietfa.amsl.com (Postfix) with ESMTP id AECFA21E811F for <json@ietf.org>; Sat, 28 Sep 2013 14:52:29 -0700 (PDT)
Received: by mail-qc0-f175.google.com with SMTP id v2so2646114qcr.34 for <json@ietf.org>; Sat, 28 Sep 2013 14:52:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TKEMLMkRn9n2SlyZzC2aiHyC5Cv6C3Vc/f9a9CEOpvs=; b=c2O+ftaROOB258Bx2ZepJJbXKPgZkzsI0OLkbNXPSUaf7fFmWXmPPS6SXz6Z+ChNTs rANmoF19zZ2jB2iqFKzAYy0RHQP2lC418KiimecUgp8NPwmQW3YR/eMBr0llwjH1vadF gYp5jEsKiJF9NRzRJgfInQIvadyY0bWXzDEEX2nxUK1d2JSIgO6oIHXCQv+NmQfGCn/C 2X0m5+xz9GE4fXkqmK/2U86Z3Fh5B2BpdMrb3ddbbRg1bSYhhEx7/CtFJWbYtG7plph6 JeEENMzCdPjeZXGPegHR3kzXARg0MmqPhiK67CRFb3SwCyN7VM0J6Us965eHE3dQy2yz /J/w==
MIME-Version: 1.0
X-Received: by 10.49.51.167 with SMTP id l7mr18452273qeo.52.1380405148232; Sat, 28 Sep 2013 14:52:28 -0700 (PDT)
Received: by 10.140.86.147 with HTTP; Sat, 28 Sep 2013 14:52:28 -0700 (PDT)
In-Reply-To: <52452F14.1070803@it.aoyama.ac.jp>
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> <CAChr6SzPeOoeJd1z1VNHTk1Jk+3zUY=D2AcboGxYtphYHOCdjw@mail.gmail.com> <52452F14.1070803@it.aoyama.ac.jp>
Date: Sat, 28 Sep 2013 14:52:28 -0700
Message-ID: <CAChr6SwJuu3c_yzMPmeYe4P5fXThy448HLaTrR+feD8Um2aMgA@mail.gmail.com>
From: R S <sayrer@gmail.com>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Content-Type: multipart/alternative; boundary="047d7bdc134a81b2a804e7789e50"
Cc: Tim Bray <tbray@textuality.com>, Paul Hoffman <paul.hoffman@vpnc.org>, JSON WG <json@ietf.org>
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: Sat, 28 Sep 2013 21:52:34 -0000

On Fri, Sep 27, 2013 at 12:09 AM, "Martin J. Dürst"
<duerst@it.aoyama.ac.jp>wrote:

> On 2013/09/27 3:52, R S wrote:
>
>> On Thu, Sep 26, 2013 at 11:50 AM, Tim Bray<tbray@textuality.com>  wrote:
>>
>>  Well, except for the very first thing I tried, a modern Ruby with the
>>> default "require 'json'", did not preserve the sign.
>>>
>>>
>> I bet they would take a patch, though.
>>
>
> Please send one, or at least file a bug report on
> http://bugs.ruby-lang.org.


I checked this today. Ruby's standard implementation appears to interpret
"-0.0" as -0.0 and "-0" as 0.

- Rob