yes i did in my .nc file , and i'm just trying to simulate on TOSSIM2 with 
micaz.
 

Date: Wed, 16 Jun 2010 18:14:05 +0200
From: [email protected]
To: [email protected]
Subject: Re: [Tinyos-help] arithmetic  in NesC ??






  


Have you included "math.h" in
your code ?

Which mote are you working on?



El 16/06/2010 17:54, Sam Azzaro escribió:

  Hello,
  

  
  i have a nesc application, in wich i have to use addition modulo
2^w
  i defined:
   
  #define (a + b)  mod((a + b),pow(2, w))
  

  
  but pow is not working like in C
  have you any idea to fix that please?
  thanks,
  

  
  Sam
  
  
  

  Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en
  
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  



-- 
Jose A.
Seville, Spain                                    
_________________________________________________________________
Hotmail : une messagerie fiable avec la protection anti-spam performante de 
Microsoft
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to