The base10 log "ironic" part was a reference to how bad my memory is of math functions that I don't often use... I also forgot that avr math.h uses doubles...
hope things keep working for you MS Geo Gkolfin wrote: > Dear Mr Michael Schippling > Thank you so much for both your help and your irony. I am afraid I was > looking at avr! After your enlightening reply I was able (at last) to > find logf. Unfortunately I cannot understand the "base 10" ironic part > of your mail. But logf(2.718) returns 1 so I guess logf computes the > Neperian logarithm. Excuse me if my comment is irrelevant. > Once again thank you for replying. > Please keep up the good work helping us and the positive energy. > Best regards, > Georgia > > On Sun, Jul 31, 2011 at 7:37 PM, Michael Schippling <sc...@santafe.edu > <mailto:sc...@santafe.edu>> wrote: > > I have two different versions of msp430 tools courtesy > of different mystery TOS installations, one in /usr > and one in /opt. They both have the same directory > structure, so the only math.h file I could find was: > .../msp430/msp430/include/__math.h > Both contain a logf() declaration, and a logf10()... > To show my ignorance I "remembered" that log was base > 10 not ln, so that probably tells you how useful my > information is... > > MS > > > Geo Gkolfin wrote: > > Oops, my bad! Actually logf() works fine. It computes ln > correctly. I still cannot find it in any of the math.h files but > it works. Sorry again. > > > > ------------------------------__------------------------------__------------ > > _________________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.__berkeley.edu > <mailto:Tinyos-help@millennium.berkeley.edu> > > https://www.millennium.__berkeley.edu/cgi-bin/mailman/__listinfo/tinyos-help > > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help