Date: Thu, 1 Dec 2011 00:47:28 +0000 From: Alexander Best <arundel@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: comparing floating points via "==" or "!=" Message-ID: <20111201004728.GA53601@freebsd.org> In-Reply-To: <CAJ-Vmon4Fn4RAMhHS6skpsy2Lst3XUYXsENSCr0SCQFjQH6c6w@mail.gmail.com> 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> <CADWvR2iUB4mDFuwbWzqe6bnjShTZEQzQ-ubAx8h7yqGwjcUHKA@mail.gmail.com> <20111201003938.GA52503@freebsd.org> <CAJ-Vmon4Fn4RAMhHS6skpsy2Lst3XUYXsENSCr0SCQFjQH6c6w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111201004728.GA53601>