From owner-freebsd-wireless@FreeBSD.ORG Thu Dec 1 00:43:26 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 18CFD106566B; Thu, 1 Dec 2011 00:43:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id B2EC08FC12; Thu, 1 Dec 2011 00:43:25 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so1518835vbb.13 for ; Wed, 30 Nov 2011 16:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=cpkNzqkgqvQ65ldoa66tjcyD17TPrOiGXBspNaebt0Q=; b=YRiqMaowUiK2/xCGTmK1XYBViajJCx6RhNtCWhzhnBPM+BplZ0eqCx6IF4wZAZYlop ENEPvKPkY2O9gtYO4gOaTX3tG+wetEleX6P49YH+vVj++v1tovfNqCMeph7KhQoC/bod ytr7seUMQyfSkLeexr7LbeZm97cEFHTlqhzsI= MIME-Version: 1.0 Received: by 10.52.26.179 with SMTP id m19mr4024936vdg.95.1322700204944; Wed, 30 Nov 2011 16:43:24 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Wed, 30 Nov 2011 16:43:24 -0800 (PST) In-Reply-To: <20111201003938.GA52503@freebsd.org> References: <20111130224422.GA36424@freebsd.org> <20111201000243.GB44877@freebsd.org> <20111201001158.GA48051@freebsd.org> <20111201003938.GA52503@freebsd.org> Date: Thu, 1 Dec 2011 08:43:24 +0800 X-Google-Sender-Auth: kK885LPjlj3TnxnMWO6udPRVpSs Message-ID: From: Adrian Chadd To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 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 00:43:26 -0000 Erm, these aren't run-time comparisons though, these are done at compile time. They can be easily substituted with macro values, or just *100 values. Adrian