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 ? Thanks, Rémi
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help