samedi 20 octobre 2018

Value under max uint64 but still getting outside range

Even though I am well under the maximum value of a uint_64 (unsigned long long) I am getting the following error, why could this be?

value 259200000000 is outside the range of representable values of type 'int' static constexpr uint64_t THREE_DAYS = 3 * 24 * 60 * 60 * 1000000;

Aucun commentaire:

Enregistrer un commentaire