Date: Thu, 1 Dec 2011 00:00:38 +0000 From: Alexander Best <arundel@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: comparing floating points via "==" or "!=" Message-ID: <20111201000038.GA44877@freebsd.org> In-Reply-To: <CAJ-VmomH=pQtGV67xu5m7H6c-%2Bb8nfL_nmahzzHioh-bXTs84g@mail.gmail.com> References: <20111130224422.GA36424@freebsd.org> <CAJ-VmomH=pQtGV67xu5m7H6c-%2Bb8nfL_nmahzzHioh-bXTs84g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu Dec 1 11, Adrian Chadd wrote:
> On 1 December 2011 06:44, Alexander Best <arundel@freebsd.org> wrote:
> > hi there,
> >
> > i played a bit with the gcc -Wfloat-equal warning and noticed that inside
> > sys/dev/ath/ath_rate/sample/tx_schedules.h, a lot of comparisons of floating
> > points are happening ("=="). is there a better way to deal with this?
>
>
> ... where?
the NA1(), NG1() and Q() macros.
cheers.
alex
>
> adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111201000038.GA44877>
