On quinta-feira, 27 de outubro de 2016 00:49:21 PDT Ola Røer Thorsen wrote: > > https://codereview.qt-project.org/175025 > > That's sort of a "sledge hammer" fix. Wouldn't this make it easier to be > careless about mixing floats and doubles? I think it's a good practice to > avoid mixing when possible, with regards to performance especially on > smaller embedded devices.
Yes and no. qMax and qMin have been the bane of qreal for the last 10 years because they are template functions. Solving those two will solve 95%+ of the qreal=float issues. That means the chance of having a release that fails to build under that condition lessens considerably. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
