Possible Duplicate:
Where are the limits for Qt types?
I need maximum number of quint64 for example we have a macro for ulong ULONG_MAX
Is there any equal macro for quint64?
You can find an answer in the official documentation:
quint64
is a typedef for unsigned long long int
(unsigned __int64
on Windows). This type is guaranteed to be 64-bit on all platforms supported by Qt.
So, quint64
is a 64-bit type for unsigned integers.
We can find its maximum value this way:
2^64-1 = 18446744073709551615
As it was told here, you can get the same result by including #include <limits>
, and the output result of
std::numeric_limits<quint64>::max();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With