I came accross this statement:
time_t time = x / 1000LL;
So what does this LL actually mean?
I came accross this statement:
time_t time = x / 1000LL;
So what does this LL actually mean?
Copy-pasted from this question, which seems to be the exact same one with the ULL suffix :
From the
gccmanual:ISO C99 supports data types for integers that are at least 64 bits wide, and as an extension GCC supports them in C90 mode and in C++. Simply write
long long intfor a signed integer, orunsigned long long intfor an unsigned integer. To make an integer constant of typelong long int, add the suffixLLto the integer. To make an integer constant of typeunsigned long long int, add the suffixULLto the integer.
It, indeed, is a suffix for the long long int type.