Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 22:44:22 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-wireless@freebsd.org
Subject:   comparing floating points via "==" or "!="
Message-ID:  <20111130224422.GA36424@freebsd.org>

next in thread | raw e-mail | index | archive | help
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?

cheers.
alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111130224422.GA36424>