On Thu, Jul 9, 2009 at 12:48 PM, Raffaele
Gravina<[email protected]> wrote:
> Hi there,
> I have a piece of code that does a lot of summation and products on a
> variable: I know it will overflow the uint32_t.
> Now, is there a way to create (or emulate) a new type like uint64_t?!
> Also, i wonder if the floats in tinyos are 16 or 32 bits.
> Thanks,
>

without knowing what mote you are using no one can answer you.

for the MSP430 MCU (telos, and others): it supports a "long long"
datatype (64 bits) uint64_t should be already defined .. floats are 32
bits.

for other MCUs I have no idea.

your question is not about tinyos (it uses whatever datatypes are
available) but rather about the hardware platform you are using.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to