29 #ifdef POK_NEEDS_LIBMATH
36 #include "namespace.h"
37 #include "math_private.h"
40 __weak_alias(log, _log)
47 return __ieee754_log(x);
51 if(_LIB_VERSION == _IEEE_ || isnan(x) || x > 0.0)
return z;
53 return __kernel_standard(x,x,16);
55 return __kernel_standard(x,x,17);