Review Request: KColorSpace::KHCY::KHCY(const & QColor) constructor floating point precision error
ossi at kde.org
Tue Jun 23 23:38:31 BST 2009
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
and fwiw, ((a == b) == ((a - b) == 0.0)) in any case.
More information about the kde-core-devel