[En-Nut-Discussion] log10f not suportet?

Harald Kipp harald.kipp at egnite.de
Thu Oct 5 17:58:49 CEST 2006


Kim,

At 23:05 02.10.2006 +0200, you wrote:
>Is the math.h not surported.
>I got error from the linker.
>-------------------------------------------
>  float logEx,dew_point;
>  logEx=0.66077+7.5*t/(237.3+t)+(log10(h)-2);
>  dew_point = (logEx - 0.66077)*237.3/(0.66077+7.5-logEx);
>  return dew_point;
>
>the error is at log10

Nut/OS doesn't support floating point (only for formatted printing).
You have to check your compiler, or more precisely, the runtime
lib.

Harald




More information about the En-Nut-Discussion mailing list