W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

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

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Thu, 17 Nov 2016 08:25:52 +0000
To: Willy Tarreau <w@1wt.eu>
cc: Kazuho Oku <kazuhooku@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <83110.1479371152@critter.freebsd.dk>
--------
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.
Received on Thursday, 17 November 2016 08:26:25 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 17 November 2016 08:26:29 UTC