2009/6/8 Rémi Villé <ville.r...@gmail.com> > Hi, > > In TinysOS there's only integer type to get calculation results. I think > because of microcontroller/CPU coercions. > But I would like to know if there is a precision during the calculation, I > mean if I do (1/4) * 100 (using brackets to obtain 0.25 before the > multiplication), will I obtain 25 or 0 ? > > Is there logarithm and exponential functions in TinyOS ? > Is it possible to do ln(0.7) and obtain a good result precision ? >
Sorry, I would say exp(0.7) > > Thanks, > > Rémi > > PS : sorry, I forgot [Tinyos-help] in the subject msg again
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help