thanks victor,that may help so much
thanks again Sam,

> Subject: Re: arithmetic in Nesc ??
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Date: Wed, 16 Jun 2010 19:05:50 +0100
> 
> Sam,
> 
> You might be better off implementing your own mathematical functions, if
> they are not too complex.
> 
> I think math.h implementations account for float variables, so they need
> to use fixed-point arithmetics. If you don't need floats you can save a
> lot of time with simpler implementations. In one application I saved
> 15ms for pow. 
> 
> Take a look at this:
> http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/msp430-libc/src/libm/ef_pow.c?view=markup
> 
> 
> Regards,
> Victor
> 
                                          
_________________________________________________________________
Hotmail : une messagerie fiable avec une protection anti-spam performante
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