Re: New Version Notification for draft-kamp-httpbis-structure-01.txt (fwd)

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Thu, 17 November 2016 08:37 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08524129657 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Nov 2016 00:37:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.398
X-Spam-Level:
X-Spam-Status: No, score=-8.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=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 sWaFYmQeL-i7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Nov 2016 00:37:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0DB712960C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 17 Nov 2016 00:29:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c7I1g-0002gr-S8 for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Nov 2016 08:26:32 +0000
Resent-Date: Thu, 17 Nov 2016 08:26:32 +0000
Resent-Message-Id: <E1c7I1g-0002gr-S8@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1c7I1Z-0002fC-RH for ietf-http-wg@listhub.w3.org; Thu, 17 Nov 2016 08:26:25 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <phk@phk.freebsd.dk>) id 1c7I1S-0004he-La for ietf-http-wg@w3.org; Thu, 17 Nov 2016 08:26:20 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 1E3A827342; Thu, 17 Nov 2016 08:25:53 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id uAH8PqTQ083111; Thu, 17 Nov 2016 08:25:52 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Kazuho Oku <kazuhooku@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <20161117055345.GB9646@1wt.eu>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <78354.1477853918@critter.freebsd.dk> <CANatvzx5RSnnN9ybqh6tRqKV=7NVO+PTpgAuVUU+6JuKGFtczg@mail.gmail.com> <20161117055345.GB9646@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <83109.1479371152.1@critter.freebsd.dk>
Date: Thu, 17 Nov 2016 08:25:52 +0000
Message-ID: <83110.1479371152@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-6.8
X-W3C-Hub-Spam-Report: AWL=0.007, BAYES_00=-1.9, RP_MATCHES_RCVD=-2.896, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c7I1S-0004he-La 809b6889cf1f8f316bc9fc130cb6cbec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-kamp-httpbis-structure-01.txt (fwd)
Archived-At: <http://www.w3.org/mid/83110.1479371152@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32921
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--------
In message <20161117055345.GB9646@1wt.eu>, Willy Tarreau writes:

>In my opinion we don't care here. And maybe we can document the expected
>minimal precision (eg: minimum 53 bits to be able to store a 32-bit
>integral range with a 1/1000000 fractional precision.

Uhm, guys:

       number = ["-"] 1*15 DIGIT
               # XXX: Not sure how to do this in ABNF:
               # XXX: A single "." allowed between any two digits
               # The range is limited is to ensure it can be
               # correctly represented in IEEE754 64 bit
               # binary floating point format.

Please notice:

	1) If there is a period, it _has_ to be between to digits.

	2) max 15 digits in total, so that people stuffing them in
	   ieee64bin aka double, don't get surprises.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.