[Interest] 64bit integer type in QML?

Thiago Macieira thiago.macieira at intel.com
Thu Jan 15 01:55:18 CET 2015

On Thursday 15 January 2015 00:34:19 Ola Røer Thorsen wrote:
> Hi all,
> is it possible to use 64bit integers in QML?
> Looking at the docs at http://doc.qt.io/qt-5/qml-int.html it seems like the
> integers are 32-bit signed only (by counting the zeros in 2000000000...)

QML is JavaScript. In JS, numbers are IEEE 754 double-precision floating point.

That means you can have 53-bit integers (plus sign bit).

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list