[OPSAWG] Review of draft-presuhn-floats-00.txt

Juergen Quittek <Quittek@neclab.eu> Thu, 02 December 2010 21:52 UTC

Return-Path: <Quittek@neclab.eu>
X-Original-To: opsawg@core3.amsl.com
Delivered-To: opsawg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C75AC3A69FE for <opsawg@core3.amsl.com>; Thu, 2 Dec 2010 13:52:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.937
X-Spam-Level:
X-Spam-Status: No, score=-100.937 tagged_above=-999 required=5 tests=[AWL=-0.854, BAYES_00=-2.599, FF_IHOPE_YOU_SINK=2.166, HELO_EQ_DE=0.35, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzLvGJzidrvs for <opsawg@core3.amsl.com>; Thu, 2 Dec 2010 13:52:31 -0800 (PST)
Received: from smtp0.netlab.nec.de (smtp0.netlab.nec.de [195.37.70.40]) by core3.amsl.com (Postfix) with ESMTP id BC8093A697E for <opsawg@ietf.org>; Thu, 2 Dec 2010 13:52:30 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp0.netlab.nec.de (Postfix) with ESMTP id 0A82F2800017A for <opsawg@ietf.org>; Thu, 2 Dec 2010 22:53:49 +0100 (CET)
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas1.office.hd)
Received: from smtp0.netlab.nec.de ([127.0.0.1]) by localhost (atlas1.office.hd [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kpIGna7YUuLY for <opsawg@ietf.org>; Thu, 2 Dec 2010 22:53:48 +0100 (CET)
Received: from METHONE.office.hd (Methone.office.hd [192.168.24.54]) by smtp0.netlab.nec.de (Postfix) with ESMTP id E217928000174 for <opsawg@ietf.org>; Thu, 2 Dec 2010 22:53:43 +0100 (CET)
Received: from DAPHNIS.office.hd ([169.254.2.241]) by METHONE.office.hd ([192.168.24.54]) with mapi id 14.01.0255.000; Thu, 2 Dec 2010 22:53:41 +0100
From: Juergen Quittek <Quittek@neclab.eu>
To: "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: Review of draft-presuhn-floats-00.txt
Thread-Index: AcuSa1qjmnmaydkKREisA+WnjBhpgw==
Date: Thu, 02 Dec 2010 21:53:40 +0000
Message-ID: <C91E4469.1877E%quittek@neclab.eu>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-Entourage/13.7.0.100913
x-originating-ip: [10.7.0.92]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="B_3374204009_102566754"
MIME-Version: 1.0
Subject: [OPSAWG] Review of draft-presuhn-floats-00.txt
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/opsawg>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2010 21:52:31 -0000

> Network Working Group                                         R. Presuhn
> Internet-Draft                                                      None
> Intended status: Standards Track                       November 29, 2010
> Expires: June 2, 2011
> 
> 
>   Textual Conventions for the Representation of Floating-Point Numbers
>                       draft-presuhn-floats-00.txt

[...]
 
> 1.  Introduction
> 
>    This memo defines textual conventions for the representation of
>    floating-point numbers.  All of these definitions are in terms of the
>    IEEE Standard for Floating-Point Arithmetic, IEEE 754-2008
>    [IEEE.754.1985].
> 
>    The IEEE Standard for Floating-Point Arithmetic, IEEE 754-2008
>    [IEEE.754.1985], provides for a variety of interchange formats for
>    floating point numbers.  The need for three of these has been
>    recognized in network management:
> 
>    o  32-bit;
>    o  64-bit;
>    o  128-bit.

I would suggest supporting this statement with a reference:

  "The need for three of these, namely
      o  32-bit,
      o  64-bit,
      o  128-bit,
   has been recognized in network management, for example, during the
   discussion of data types for SMIng. Section 4.2.3 of the SMIng
   Objectives [RFC3216] elaborates the need for these three floating-point
   data types in network management protocols."

[...]

> 4.  Definitions
> 
>   FLOAT-MIB DEFINITIONS ::= BEGIN

I would suggest calling it "FLOAT-TC-MIB".
This would be more descriptive.

[...]
> 
>   Float32 ::= TEXTUAL-CONVENTION

Also here I would like to add a TC to the name:
Calling it "Float32TC" would have two advantages:
  - It would make clear that it's a TC and not an SMI data type
  - If at any point in time there will be an SMIv3, then I am sure
    it will have floating-point data types. We avoid future name
    collisions if we have "TC" in the name of this one here.

Obviously, the same applies to Float64 and Float128.

[...]
 
> 8.1.  Normative References
> 
>    [IEEE.754.1985]
>               Institute of Electrical and Electronics Engineers,
>               "Standard for Binary Floating-Point Arithmetic",
>               IEEE Standard 754, August 1985.

We had the same problem in the PSAMP MIB. In the bibxml2 collection of
references for xml2rfc there is only the outdated reference included.
You can fix this by explicitly adding the following <reference> to the
<references> block for normative references in the <back> part of the xml
file:

      <reference anchor="IEEE.754.2008">
         <front>
            <title>Standard for Binary Floating-Point Arithmetic</title>
            <author>
               <organization>
                  Institute of Electrical and Electronics Engineers
               </organization>
            </author>
            <date month="August" year="2008" />
         </front>
         <seriesInfo name="IEEE" value="Standard 754" />
      </reference>

Then you can use "IEEE.754.2008" as target in <xref>.

    Juergen