Dmitry wrote > fixed... > logf(), expf()
O.k., thanks - this works, but could you explain why did you use the names logf() and expf() instead of the standard names log() and exp()? This is pretty confusing, because if one is reading a ANSI C standard library description while programming he expects the standard names and therefore will trap into the pit, because log() and exp() result in an "undefined reference" error. Note: The same holds also for pow(), which has to be called using powf(). In contrast sin() and cos() are defined and work. Ralf
