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

"Joe Hildebrand (jhildebr)" <jhildebr@cisco.com> Wed, 21 May 2014 14:59 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 999191A0845 for <json@ietfa.amsl.com>; Wed, 21 May 2014 07:59: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 N4zIK3zA92FB for <json@ietfa.amsl.com>; Wed, 21 May 2014 07:59:50 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9C2D1A070F for <json@ietf.org>; Wed, 21 May 2014 07:59:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=624; q=dns/txt; s=iport; t=1400684385; x=1401893985; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=l5MI/CcQhWnBuf/Tv2O2xHivX7wLt+iO/e/b/wMA8YQ=; b=gLpCfreUecuPtT+h4nXEtBvNHpDz2ZUqp0MWh7sMPoWuTQOmG/9dJG7y +ySs0d0CokhjV9jA5+ox/Ad9RQAKGSADVSnkVo0/uXon8F973UjBpPige +zV78tiBfslKDrv9q3Ilw6/Wc3qOiMd4doxhONZx+8Rx1Stxya/xJTjsM 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap8HAFG+fFOtJA2I/2dsb2JhbABZgwaBKYJppnUBBQUBmjABGXMWdIImAQEEIxFFEAIBCBoCJgICAjAVEAIEDgWIQbBPpTcXgSqEK4heGweCdYFLAQOZbpMkgziCMA
X-IronPort-AV: E=Sophos;i="4.98,880,1392163200"; d="scan'208";a="45876842"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by alln-iport-2.cisco.com with ESMTP; 21 May 2014 14:59:44 +0000
Received: from xhc-aln-x02.cisco.com (xhc-aln-x02.cisco.com [173.36.12.76]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s4LExigD014461 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 21 May 2014 14:59:44 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.76]) by xhc-aln-x02.cisco.com ([173.36.12.76]) with mapi id 14.03.0123.003; Wed, 21 May 2014 09:59:44 -0500
From: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
To: John Cowan <cowan@mercury.ccil.org>, "Manger, James" <James.H.Manger@team.telstra.com>
Thread-Topic: [Json] I-JSON Topic #5: Numbers
Thread-Index: AQHPYxzPc1qOL3zAFk6QxZ1T0YrJO5snzN0A//+jtwCAAGnvgIAEImEAgBzCVgD//8VpAIAAc5kAgADXt4CAAHQ7oIAAfEKAgABzMQA=
Date: Wed, 21 May 2014 14:59:43 +0000
Message-ID: <CFA21B5C.4A721%jhildebr@cisco.com>
References: <535EB3BF.8080606@cisco.com> <CAHBU6ivjF9ULW0yGSVdJi2D6QgUThuhym_ZhpgLM=cvLu=mAiQ@mail.gmail.com> <CF841AAE.47D86%jhildebr@cisco.com> <CAHBU6itK5HtSTPWSsHsHUPja90emqU86LsgjrBorkqcUDivS2A@mail.gmail.com> <CF87EB9C.48BB0%jhildebr@cisco.com> <537A5BE0.3020406@cisco.com> <CF9FCEC9.4A4E7%jhildebr@cisco.com> <488AE66E-725D-40B3-9FDA-ADA1018BCF65@tzi.org> <CFA0F09E.4A609%jhildebr@cisco.com> <255B9BB34FB7D647A506DC292726F6E115461FFE59@WSMSG3153V.srv.dir.telstra.com> <20140521020731.GG9283@mercury.ccil.org>
In-Reply-To: <20140521020731.GG9283@mercury.ccil.org>
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.21.151.90]
Content-Type: text/plain; charset="utf-8"
Content-ID: <03A2D494E169634AAAE413A12F089BB3@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/json/V_aHprDEC6WddJojDcL9JCF6acQ
Cc: Carsten Bormann <cabo@tzi.org>, 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: Wed, 21 May 2014 14:59:51 -0000

On 5/20/14, 8:07 PM, "John Cowan" <cowan@mercury.ccil.org> wrote:

>"An I-JSON sender MUST NOT expect a receiver to treat a non-zero number
>whose absolute value is greater than 1e308 or less than 1e-308
>as an exact value.  Furthermore, an I-JSON sender MUST NOT expect a
>receiver to treat an integer whose absolute value is greater than
>9007199254740992 as an exact value."

+1.  Succinct and captures the issues.

-- 
Joe Hildebrand