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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development