Re: [Json] Limitations on number size?

John Cowan <cowan@mercury.ccil.org> Wed, 10 July 2013 01:26 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 09EF811E813A for <json@ietfa.amsl.com>; Tue, 9 Jul 2013 18:26:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.281
X-Spam-Level:
X-Spam-Status: No, score=-3.281 tagged_above=-999 required=5 tests=[AWL=-0.282, BAYES_00=-2.599, J_CHICKENPOX_12=0.6, 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 ADAJ3bu+tqkQ for <json@ietfa.amsl.com>; Tue, 9 Jul 2013 18:26:16 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id B136111E80BA for <json@ietf.org>; Tue, 9 Jul 2013 18:26:16 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1UwjAV-0006GE-29; Tue, 09 Jul 2013 21:26:07 -0400
Date: Tue, 09 Jul 2013 21:26:07 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: John Levine <johnl@taugh.com>
Message-ID: <20130710012606.GM9153@mercury.ccil.org>
References: <CAK3OfOi_q8KTQd-RW7PPhS5ZXXYSMEJ57uKTKL-ck6ocd6Nbeg@mail.gmail.com> <20130709222601.32831.qmail@joyce.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20130709222601.32831.qmail@joyce.lan>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: nico@cryptonector.com, json@ietf.org
Subject: Re: [Json] Limitations on number size?
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: Wed, 10 Jul 2013 01:26:21 -0000

John Levine scripsit:

> Do we actually know?  Or is it just whatever number format a library's
> underlying language happens to provide?

I would be very surprised if existing libraries did *not* handle the
entire range of IEEE doubles (other than Inf, -Inf, NaN, and -0.0)
at the very least.

-- 
weirdo:    When is R7RS coming out?                  John Cowan
Riastradh: As soon as the top is a beautiful         cowan@ccil.org
           golden brown and if you stick a toothpick
          in it, the toothpick comes out dry.        www.ccil.org/~cowan