Re: [Json] I-JSON Topic #5: Numbers

Tim Bray <tbray@textuality.com> Mon, 28 April 2014 20:23 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B324C1A702F for <json@ietfa.amsl.com>; Mon, 28 Apr 2014 13:23:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level:
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6wMAfwQRJezz for <json@ietfa.amsl.com>; Mon, 28 Apr 2014 13:23:16 -0700 (PDT)
Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by ietfa.amsl.com (Postfix) with ESMTP id 60C281A7026 for <json@ietf.org>; Mon, 28 Apr 2014 13:23:16 -0700 (PDT)
Received: by mail-ve0-f177.google.com with SMTP id sa20so8628008veb.22 for <json@ietf.org>; Mon, 28 Apr 2014 13:23:14 -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:from:date :message-id:subject:to:cc:content-type; bh=JQs9JAMPpK5MZGo6ogNvMY/nwNuQCz4cHLxv7bzNBmM=; b=Ek6ckwI1LKuXJdxd7X9Dx49yIrF7GgUyP6CMX1VDM6tqf8FxeApniDRP13A92T892Z pjAYUVhZp/oqY1aaiGu9ZUdQa9lBxMHF9UHmTBPGi2P5mdv2MJmsZdnpuMLB4tMbBfAz 41f8zUgnATrhHM57gf7xt95yct/d/XiLMTjX4/XYzCBbDp3aXw4MNj5RZGJwp0Hd5zLg wdKtW/XXufERhox07KDTVVW3yx4g0WZmUsVkSviLcw3Q8oT+GOTi78jdgENkqwvvUBJS Bszj0Y0u3fOc9iRNSSmTBgatt0+hWoIHpDI0aDPRDCI6zO/GMQerIJf7v9bypZBGYGtO 2Qog==
X-Gm-Message-State: ALoCoQmcoeLRaz9KCqhRT+o+S20AfbnLmlXeXwUIY6tCmwSKOlOpeElLHiZj1/Yv6xwt3XPKdTvn
X-Received: by 10.221.37.1 with SMTP id tc1mr2455641vcb.32.1398716594530; Mon, 28 Apr 2014 13:23:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.98.73 with HTTP; Mon, 28 Apr 2014 13:22:54 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <535EB3BF.8080606@cisco.com>
References: <535EB3BF.8080606@cisco.com>
From: Tim Bray <tbray@textuality.com>
Date: Mon, 28 Apr 2014 13:22:54 -0700
Message-ID: <CAHBU6ivjF9ULW0yGSVdJi2D6QgUThuhym_ZhpgLM=cvLu=mAiQ@mail.gmail.com>
To: Matt Miller <mamille2@cisco.com>
Content-Type: multipart/alternative; boundary=001a11334c38c23f5e04f8201544
Archived-At: http://mailarchive.ietf.org/arch/msg/json/X5MOhMTbFPskBoyQRv3xQT7rTVI
Cc: IETF JSON WG <json@ietf.org>
Subject: Re: [Json] I-JSON Topic #5: Numbers
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 28 Apr 2014 20:23:18 -0000

It occurs to me that it would be super-useful for the draft to include
explanation of how to follow this rule, including examples of printf and
Java format strings.


On Mon, Apr 28, 2014 at 1:02 PM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> "draft-i-json-01 says that you MUST not put in a string representing a
> number with greater precision/magnitude than IEEE754 doubles can
> support.   I think this is a good idea but I'm a little nervous
> because I?ve never written the code; if this is unreasonably hard at
> either the sending or receiving end someone should say so."
>
> If you have suggestions for better text -- or other comments/concerns
> on this language -- please respond to this thread with your
> suggestions or reasoning.
>
>
> - --
> - - m&m
>
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>
> * "How to Argue about I-JSON" <
> http://www.ietf.org/mail-archive/web/json/current/msg02775.html >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBCgAGBQJTXrO+AAoJEDWi+S0W7cO14CgH+wepgV8mwBjeF0GVU64pKR0p
> QGoC4JWHGv0X+6YBRDb/aaBJCHFS9pv+8uZGW39/rBZQecQub+/1EHoef0of/X86
> sWd48We6AWzh35thRw+GpJMjVHT8KP00i/5R4jJSnTvMLh6+wAU5BdBMQu2JGjND
> EFa4xY0yCF9MNYcwLvGXCgmVrSejgvqhd0LYrhY3afr/w1og5ac14qPiZdjNAGql
> dETtwbvoxqIe9OiI21F+0NUNvEFqw5gVASZCrr8Q8UK3GCjyzoabZgUevlrgpY77
> kJkiwmWWTgN8j1OuGWspNWA13t4hTm8HShTjG93NxNtBwi3u6Sy+8gtPggDnTUA=
> =Q7v0
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>