On quinta-feira, 16 de fevereiro de 2012 08.28.22, Robin Burchell wrote:
> On Thu, Feb 16, 2012 at 8:01 AM, Girish Ramakrishnan
>
> <gir...@forwardbias.in> wrote:
> > I think changing qreal to float will result in subtle porting bugs:
> > like when a Qt4 QDataStream (a double) is read by Qt5 (which is now
> > suddenly float).
>
> Huh? QDataStream doesn't have any stream operators for qreal, does it?
> The documentation doesn't list any at least...

No, but it does have them for doubles and floats. But see
QDataStream::floatingPointPrecision().

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