Re: [Json] WGLC comment about numeric values

Tim Bray <tbray@textuality.com> Fri, 11 October 2013 22:34 UTC

Return-Path: <tbray@textuality.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 02DA521E8087 for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 15:34:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.031
X-Spam-Level:
X-Spam-Status: No, score=-3.031 tagged_above=-999 required=5 tests=[AWL=-0.055, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 EXFB2Kvsgp39 for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 15:34:14 -0700 (PDT)
Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by ietfa.amsl.com (Postfix) with ESMTP id A897E21E808F for <json@ietf.org>; Fri, 11 Oct 2013 15:34:11 -0700 (PDT)
Received: by mail-vb0-f54.google.com with SMTP id q14so3212750vbe.41 for <json@ietf.org>; Fri, 11 Oct 2013 15:34:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Rz4AB3COscB08nrSQX1ARU/Kryd3hMsf8XcmVon29XM=; b=T4/O9U4SG/p62Hb3USLOer040wDgVlZI1UBNKBeYJYGjt13XMOi4Z75luA8XqWKslt bHfw/xGjRt794qP4mGl1HdYCfH1SwUK7nYIJIoRgb3XNwnFKL/z8qa+hQcFvs6KqULLm bg64LKa3KjnwxXV/MHSmnErDpjT0NGk0/pam2V4qMzvO8M2Ogbi4ft4sfARTf58gWTgw ftmLb6wfZcfme2E5U1H9NOZzYkF+Tmeju2ZE/qIfpcjwQIYQdjIgj9oSokuBT8JpFqOd P6VDHgGKEqXjTYk4/f9fOdxPOjtZ2CREOYzcYpN9DoQJfytbTXWLOOinqlWtfQ4UZqVT vGYA==
X-Gm-Message-State: ALoCoQkrvnGMDcuROAnQk80ejUijus0mZFesCPxHNLDBW9pNh7SH6HtSwZbPZCiL7w4VrmJVB8d5
MIME-Version: 1.0
X-Received: by 10.52.76.36 with SMTP id h4mr7545vdw.46.1381530850825; Fri, 11 Oct 2013 15:34:10 -0700 (PDT)
Received: by 10.220.174.197 with HTTP; Fri, 11 Oct 2013 15:34:10 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <D6BDFC73-25C9-4841-8CCD-9E47057D5897@jorgechamorro.com>
References: <CAK3OfOhUtrd91SiLrnG=5xoNnvPGfgi4EPLwzU=jV=9oHHS4_g@mail.gmail.com> <CAHBU6isQgyO-qai2w61T-XJoLua+u9QAneXm=doweYSRvrVz-w@mail.gmail.com> <CAHBU6itryT-CLEVarK4TEmUJ-grkPAQ8cgx3LZcm0Axe6wyT9w@mail.gmail.com> <0C7C7980-6023-4795-B22D-AA711D08A645@tzi.org> <D6BDFC73-25C9-4841-8CCD-9E47057D5897@jorgechamorro.com>
Date: Fri, 11 Oct 2013 15:34:10 -0700
Message-ID: <CAHBU6ivcTs6Zc_9qiXbVk=+b-J6R2YPmEY=GbJGi=WFVts4W2w@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Jorge Chamorro <jorge@jorgechamorro.com>
Content-Type: multipart/alternative; boundary=20cf3071c8c29c2dc904e87eb71d
Cc: Nico Williams <nico@cryptonector.com>, Carsten Bormann <cabo@tzi.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] WGLC comment about numeric values
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, 11 Oct 2013 22:34:19 -0000

Those problems and surprises are totally nonspecific to JSON.  Don’t think
it adds value.


On Fri, Oct 11, 2013 at 3:07 PM, Jorge Chamorro <jorge@jorgechamorro.com>wrote;wrote:

> On 11/10/2013, at 23:39, Carsten Bormann wrote:
> >
> > (I don't want to restart the 1.1 discussion :-)
>
> You don't want :-), but that's interesting and a *very* common source of
> problems and surprises. Perhaps what you want to say can be said in a short
> line. Why don't you try? E.g:
>
> "Fractions in base 10 often can't be represented exactly in a binary
> format, e.g. 0.1" "IEEE-754 is a binary format"
>
> Or a link to somewhere like <
> http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems> ?
>
> ?
>
> --
> ( Jorge )();