Re: [Json] Fwd: New Version Notification for draft-ietf-json-rfc4627bis-04.txt

John Cowan <cowan@mercury.ccil.org> Fri, 27 September 2013 20:24 UTC

Return-Path: <cowan@ccil.org>
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 6CB4221F9ED4 for <json@ietfa.amsl.com>; Fri, 27 Sep 2013 13:24:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.271
X-Spam-Level:
X-Spam-Status: No, score=-3.271 tagged_above=-999 required=5 tests=[AWL=0.328, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 I3mOj33Dw2w4 for <json@ietfa.amsl.com>; Fri, 27 Sep 2013 13:24:36 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 1873F21F92B2 for <json@ietf.org>; Fri, 27 Sep 2013 13:24:36 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1VPeaX-0006hR-JX; Fri, 27 Sep 2013 16:24:33 -0400
Date: Fri, 27 Sep 2013 16:24:33 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Jorge Chamorro <jorge@jorgechamorro.com>
Message-ID: <20130927202433.GA24460@mercury.ccil.org>
References: <20130926165817.29653.83100.idtracker@ietfa.amsl.com> <CAHBU6isah9snaU_zPpXxYmvtWjs8kM7W41WgL6rqd309VS+k-A@mail.gmail.com> <F63EA889-BFDD-464D-8629-561B1259519F@jorgechamorro.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <F63EA889-BFDD-464D-8629-561B1259519F@jorgechamorro.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: Tim Bray <tbray@textuality.com>, "json@ietf.org WG" <json@ietf.org>
Subject: Re: [Json] Fwd: New Version Notification for draft-ietf-json-rfc4627bis-04.txt
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 20:24:40 -0000

Jorge Chamorro scripsit:

> I mean, don't 3, 3.0, 30e-1 or even 0.000000000000000000000000003e27
> produce the same ieee754:double?

In languages that don't treat 3 as generating a fixed-point value, yes.

> At least in JavaScript all of them are ===.

JavaScript is one of those.

-- 
John Cowan              cowan@ccil.org          http://www.ccil.org/~cowan
Most people are much more ignorant about language than they are about
[other subjects], but they reckon that because they can talk and read and
write, their opinions about talking and reading and writing are as well
informed as anybody's.  And since I have DNA, I'm entitled to carry on at
length about genetics without bothering to learn anything about it.  Not.
                        --Mark Liberman