On terça-feira, 4 de setembro de 2012 13.47.44, Sean Harmer wrote:
> Yes. The trouble is there is no generic compare two floats when you don't
> know  if either of them are supposed to be near to/exactly zero. I have a
> WIP patch here to try and resolve that but it is a very tricky problem.
>
> I do not yet know if it is a zero/near-zero value comparison causing the
> issue.

If that's a unit test, usually you'd be comparing to an expected value. If
it's expected, you know whether it's zero or not.

Why isn't it the case there?

--
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

Attachment: 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

Reply via email to