Hello,

I have a question on the operation of 'long long' type variables on
TelosB. The 'long long' data type in Telos is 8 bytes. Can we do
multiplication(division) with two 'long long' variables and get correct
result? If not, is there any way to get it?

For example,
    long long la, lb, lc, ld;

    la = 0x1111222233334444;
    lb = 0x0000000012345678;
    lc = la * lb;
    ld = la / lb;

I want to get the correct values of lc and ld.

Thanks,
Suyoung Yoon

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to