I'm seeking for a macro representing the maximum value of uint64_t
as UINT_MAX
is for unsigned int
.
i.e. I need this value to guaranteed to be (1<<64)-1.
I tried to use UINT64_MAX
, but compiling with g++ results in:
'UINT64_MAX' was not declared in this scope
It's worth to mention that I have this line #define __STDC_LIMIT_MACROS
in the code before using UINT64_MAX
.
I was surprised to not find helpful information around the web about it.