[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Review Request: KColorSpace::KHCY::KHCY(const & QColor)
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2009-06-23 22:38:31
Message-ID: 20090623223831.GA5783 () ugly ! local
[Download RAW message or body]

On Tue, Jun 23, 2009 at 04:59:12PM -0400, Michael Pyne wrote:
> against 0.0 (which is really the only equality comparison you can do
> on floating point since it is exact and so are its conversions to
> different forms).
>
all small integers (i think +/- 2^23 for single precision) can be
represented exactly.

and fwiw, ((a == b) == ((a - b) == 0.0)) in any case.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic