From owner-freebsd-wireless@FreeBSD.ORG Thu Dec 1 01:04:54 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C706106564A; Thu, 1 Dec 2011 01:04:54 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id ECC418FC0A; Thu, 1 Dec 2011 01:04:53 +0000 (UTC) Received: by ggnk5 with SMTP id k5so1992329ggn.13 for ; Wed, 30 Nov 2011 17:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Z3AuoFNF37qyYRQv+JQkrnM0UFdmrZ54j8z6i5q4IUk=; b=kBuxvQCEeKLHA0g+d0XWMqWFT0dka1IQAvMi5Ma7gpBVir1HJXsvnMOumE4ge1lx+f GmsjyHzN4UCgvUwPc7Wcc1AZtTxFMlN5Cw7gTTF1zmxh4HQGe3ULkrowbr48fY+6q6yQ Y+0vZOhManEeSU6f0JN0XCKRX+FVUY4hn/DKY= Received: by 10.68.10.138 with SMTP id i10mr107025pbb.92.1322701493065; Wed, 30 Nov 2011 17:04:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.48.5 with HTTP; Wed, 30 Nov 2011 17:04:12 -0800 (PST) In-Reply-To: <20111201010057.GA54970@freebsd.org> References: <20111130224422.GA36424@freebsd.org> <20111201000243.GB44877@freebsd.org> <20111201001158.GA48051@freebsd.org> <20111201003938.GA52503@freebsd.org> <20111201010057.GA54970@freebsd.org> From: Igor Mozolevsky Date: Thu, 1 Dec 2011 01:04:12 +0000 Message-ID: To: Alexander Best Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org Subject: Re: comparing floating points via "==" or "!=" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 01:04:54 -0000 On 1 December 2011 01:00, Alexander Best wrote: > depends how fast ath devices get. 100000000000000.5 mbps? :-P "640K of memory should be enough for anybody", IPv4 address space? :-p Actually, having had a proper look at the file, I wonder whether the whole load of macros are necessary; in this specific case, it might seem sensible to just hard code the tables in a simpler (read: explicit) way... Cheers, -- Igor