[Development] Help needed with math3d classes
Thiago Macieira
thiago.macieira at intel.com
Tue Sep 4 15:53:21 CEST 2012
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
-------------- 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/ed3ea124/attachment.sig>
More information about the Development
mailing list