[Development] Changing qreal to a float

Thiago Macieira thiago.macieira at intel.com
Mon Feb 20 15:53:40 CET 2012


On segunda-feira, 20 de fevereiro de 2012 14.17.29, gunnar.sletta at nokia.com 
wrote:
> > How about we leave it defined to double in all platforms and deprecate it?
> 
> On embedded, this has the side effect that QML items would grow in size, and
> quite significantly as well. In addition, parts of scenegraph rendering
> would be slower as matrix multiplications are now double-base. These were
> the reasons for suggesting defining it to a float rather than a double in
> the first place. 

Why would it grow in size if we change the QML items to float, which was the 
original intention?

You missed this line after the code:

> > And then proceed to use float where we need float?

-- 
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/20120220/77379acc/attachment.sig>


More information about the Development mailing list