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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
