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

Alexander Best arundel at freebsd.org
Thu Dec 1 01:00:57 UTC 2011


On Thu Dec  1 11, Igor Mozolevsky wrote:
> On 1 December 2011 00:39, Alexander Best <arundel at freebsd.org> wrote:
> 
> > so wrapping fabs(3) inside a macro, like in the following example might work.
> 
> so long as you know that fabs(3) takes a double and you never need to
> down-cast from a long double :-)

depends how fast ath devices get. 100000000000000.5 mbps? :-P

cheers.
alex

> 
> 
> Cheers,
> 
> --
> Igor


More information about the freebsd-wireless mailing list