: The max value for uint64_t should be: #define ULLONG_MAX 18446744073709551615ULL (/usr/include/limits.h) This value renders the value for LLONG_MAX: #define LLONG_MAX 9223372036854775807LL Should be investigated. For now the value is set to something lower.