Am Wed, 20 Jan 2010 17:46:24 +0200
schrieb Arik Sapojnik <[email protected]>:

> Hi,
> 
> You can create a struct :
> typedef struct VeryBig
> {
>    int msb;
>    int lsb;
> 
> }VeryBig;
> 
> But basically you will still have to write a function. Although I
> don't see a problem in that:
> void AddTwo128BitNumbers(VeryBig first, VeryBig second, VeryBig
> *result);
> 
And you could encapsulate all the arithmetic-functions in a 
TinyOS-component for better usability: VeryBigArithmeticC
I guess the alternative to this would be an extension to the NesC/gcc
compilers. 

Best Regards,...
--
Marcus.

Attachment: signature.asc
Description: PGP signature

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

Reply via email to