[Development] Help needed with math3d classes

Thiago Macieira thiago.macieira at intel.com
Tue Sep 4 14:17:28 CEST 2012


On terça-feira, 4 de setembro de 2012 12.48.20, Sean Harmer wrote:
> I know that qFuzzyCompare() is not the best for comparing floating point 
> numbers, especially if one of the values is very very close to zero, but it 
> works on other platforms in this test.

qFuzzyCompare is supposed to be used with non-zero arguments. To compare to a 
zero, use qFuzzyIsNull.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120904/d49a5901/attachment.sig>


More information about the Development mailing list