This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Storing a 64 bit value to a single variable in nrf52840

Hi,

I am facing a problem in storing a 64 bit value to a variable.

some of the calculations which is resulting  such a high values like this 4701924420

when i am trying to store it in a variable of uint64_t type it is rolling over and becoming 406957124.

can you suggest me some ways to store 64 bit values to single variable.

Parents Reply Children
No Data
Related