From owner-cvs-all Thu Jul 29 17: 3:24 1999 Delivered-To: cvs-all@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id AF8B914D84; Thu, 29 Jul 1999 17:03:11 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA05914; Fri, 30 Jul 1999 09:33:01 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA93263; Fri, 30 Jul 1999 09:33:00 +0930 (CST) Date: Fri, 30 Jul 1999 09:32:59 +0930 From: Greg Lehey To: Luigi Rizzo Cc: "Brian F. Feldman" , des@flood.ping.uio.no, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fw.c Message-ID: <19990730093259.A93194@freebie.lemis.com> References: <199907291156.NAA06494@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199907291156.NAA06494@labinfo.iet.unipi.it>; from Luigi Rizzo on Thu, Jul 29, 1999 at 01:56:50PM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thursday, 29 July 1999 at 13:56:50 +0200, Luigi Rizzo wrote: >> On 29 Jul 1999, Dag-Erling Smorgrav wrote: >> >>> Brian Feldman writes: >>>> Log: >>>> 8 -> NBBy >>> >>> "number of bits by byte"? >> >> Yep, that's exactly what it is. NBBY is much preferred to hardcoding 8 :) > > ok, so now we have to replace all explicit occurrence of other > universal constants when used in a non-numeric context such as > > 0 -> ZERO > 1 -> ONE > 2 -> NSOB "Number of States of One Bit" > 10 -> NFTH "Number of Fingers in Two Hands" Or, to quote fortune: The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change. -- FORTRAN manual for Xerox Computers Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message