There have been reports of floating point issues with avr-libc 1.4.7. You may try upgrading to the latest avr-libc. Just compile it from source, and replace the version you have.This may or may not be your problem, though.
Janos On Fri, Jun 17, 2011 at 10:23 AM, [email protected] <[email protected]> wrote: > > Hello, > > We are trying to get some averages on our base station mote and really need > it to be precise. We tried using both a float and double to store the answer > in but the program just freezes the first time it encounters and sort of > operation using a floating point number. > > We looked around and couldn't find for sure if floats are supported on the > MicaZ platform. > > Am I just doing something wrong in my code or can these motes not handle > floats/doubles? > > Thanks, > Matthew Jacques > -- > View this message in context: > http://old.nabble.com/Floats-on-Micaz-Mote-tp31869925p31869925.html > Sent from the TinyOS - Help mailing list archive at Nabble.com. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
