This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Arithmetic Calculate (64 bits)

How can I multiply 2 data that result in a 64 bit value?

For example:

unsigned long a = 4000000000, c;
unsigned int b = 60000;

c = a * b; //this have a problem!!!

Has any library that can I use?

Thanks

Leonardo

0