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

Alexander Best arundel at freebsd.org
Thu Dec 1 00:47:28 UTC 2011


On Thu Dec  1 11, Adrian Chadd wrote:
> Erm, these aren't run-time comparisons though, these are done at compile time.
> 
> They can be easily substituted with macro values, or just *100 values.

right. my mistake. i think macro values would be better...simply multiplying
them with 100 would cause collisions, when e.g. 650 mbs rates pop up in the
future.

cheers.
alex

> 
> 
> 
> Adrian


More information about the freebsd-wireless mailing list