Date: Thu, 1 Dec 2011 00:17:36 +0000 From: Igor Mozolevsky <mozolevsky@gmail.com> To: Alexander Best <arundel@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: comparing floating points via "==" or "!=" Message-ID: <CADWvR2iUB4mDFuwbWzqe6bnjShTZEQzQ-ubAx8h7yqGwjcUHKA@mail.gmail.com> In-Reply-To: <20111201001158.GA48051@freebsd.org> References: <20111130224422.GA36424@freebsd.org> <CADWvR2herXkcMaZXFKm_ALBXnVFDhRCNZ-9%2B-MwHVx5XJPG4AA@mail.gmail.com> <20111201000243.GB44877@freebsd.org> <CADWvR2irEU0ANHNG4mvC1voVP6Y3YMTQxs5d35o5SbBTJ8JyfQ@mail.gmail.com> <20111201001158.GA48051@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1 December 2011 00:11, Alexander Best <arundel@freebsd.org> wrote: > i sorry. since sys/dev/ath/ath_rate/sample/tx_schedules.h also handles a lot > of integer values, i thought you referred to abs(3), because you saw also > some issues with the integer computations in that file. so i thought you were > referring to yet another issue in that file. Oh, I see! No, I was referring to a generic |a-b| expression, not abs(3) specifically. Retrospectively, using |a-b| would've been better :-) Cheers, -- Igor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADWvR2iUB4mDFuwbWzqe6bnjShTZEQzQ-ubAx8h7yqGwjcUHKA>