Date: Fri, 30 Jul 1999 09:32:59 +0930 From: Greg Lehey <grog@lemis.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: "Brian F. Feldman" <green@FreeBSD.org>, 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> In-Reply-To: <199907291156.NAA06494@labinfo.iet.unipi.it>; from Luigi Rizzo on Thu, Jul 29, 1999 at 01:56:50PM %2B0200 References: <Pine.BSF.4.10.9907291008390.13541-100000@janus.syracuse.net> <199907291156.NAA06494@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 29 July 1999 at 13:56:50 +0200, Luigi Rizzo wrote: >> On 29 Jul 1999, Dag-Erling Smorgrav wrote: >> >>> Brian Feldman <green@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990730093259.A93194>