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

"Joe Hildebrand (jhildebr)" <jhildebr@cisco.com> Thu, 01 May 2014 18:19 UTC

Return-Path: <jhildebr@cisco.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 CD46C1A093A for <json@ietfa.amsl.com>; Thu, 1 May 2014 11:19:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 8Jkea35qCffJ for <json@ietfa.amsl.com>; Thu, 1 May 2014 11:19:50 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) by ietfa.amsl.com (Postfix) with ESMTP id 974A81A0929 for <json@ietf.org>; Thu, 1 May 2014 11:19:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=716; q=dns/txt; s=iport; t=1398968389; x=1400177989; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=nBn8VjHXa7jf/9yhXIfVnrjOR0XPxVlRDteJtWhkkpE=; b=B2AXKpSKL3fCk6gedW2oQSdRVL/VoUVVhbVsiUQzj9lVgH4L+c1BxWTp z4p1+itrKd/7oFge1Rt+6jcW3iFEJKQURZX159CP8b6v+WXQrB6Et+XWv 2ooeDf1kDQ4yuTbrTGZL7xdzxJcQ/m3u9/BJDFC6N2Kxb/K3iQfJt04g2 g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ag0FADGPYlOtJV2a/2dsb2JhbABagwaBJoJnwXMZeRZ0giUBAQEEIxFFEAIBCA4KAgImAgICMBUQAgQOBYhBpXWjcxeBKo0oB4JvgUoBA5kvkm6DM4Ir
X-IronPort-AV: E=Sophos;i="4.97,966,1389744000"; d="scan'208";a="321751469"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-7.cisco.com with ESMTP; 01 May 2014 18:19:48 +0000
Received: from xhc-rcd-x04.cisco.com (xhc-rcd-x04.cisco.com [173.37.183.78]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s41IJmpJ032696 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 1 May 2014 18:19:48 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.104]) by xhc-rcd-x04.cisco.com ([fe80::200:5efe:173.37.183.34%12]) with mapi id 14.03.0123.003; Thu, 1 May 2014 13:19:48 -0500
From: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
To: Tim Bray <tbray@textuality.com>
Thread-Topic: [Json] I-JSON Topic #5: Numbers
Thread-Index: AQHPYxzPc1qOL3zAFk6QxZ1T0YrJO5snzN0A//+jtwCAAGnvgIAEImEA
Date: Thu, 1 May 2014 18:19:47 +0000
Message-ID: <CF87EB9C.48BB0%jhildebr@cisco.com>
References: <535EB3BF.8080606@cisco.com> <CAHBU6ivjF9ULW0yGSVdJi2D6QgUThuhym_ZhpgLM=cvLu=mAiQ@mail.gmail.com> <CF841AAE.47D86%jhildebr@cisco.com> <CAHBU6itK5HtSTPWSsHsHUPja90emqU86LsgjrBorkqcUDivS2A@mail.gmail.com>
In-Reply-To: <CAHBU6itK5HtSTPWSsHsHUPja90emqU86LsgjrBorkqcUDivS2A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.1.140326
x-originating-ip: [10.129.24.156]
Content-Type: text/plain; charset="utf-8"
Content-ID: <3486D27881F607408553737587A3BD2E@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/json/vhoAhVAF7FSWo-mfvMcd00fX5q0
Cc: IETF JSON WG <json@ietf.org>, "Matt Miller \(mamille2\)" <mamille2@cisco.com>
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: Thu, 01 May 2014 18:19:52 -0000

Subnormals are allowed in JSON, I believe.  They probably don't interop
quite as expected if you're using C and have -O1 or higher turned on (for
example).

On 4/28/14, 3:11 PM, "Tim Bray" <tbray@textuality.com> wrote:

>Well, they’re disallowed in JSON let alone i-json so I’d have hoped we
>can ignore them.
>
>On Mon, Apr 28, 2014 at 1:52 PM, Joe Hildebrand (jhildebr)
><jhildebr@cisco.com> wrote:
>
>Will we need to talk about subnormals, -0, NaN, Infinity, and the like?

-- 
Joe Hildebrand