comparing floating points via "==" or "!="

Igor Mozolevsky mozolevsky at gmail.com
Thu Dec 1 00:18:18 UTC 2011


On 1 December 2011 00:11, Alexander Best <arundel at 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


More information about the freebsd-wireless mailing list