cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float log8f (float x); extern double log8 (double x); extern long double log8l (long double x); extern __float80 log8w (__float80 x); extern __float128 log8q (__float128 x); extern long_long_double log8ll (long_long_double x); extern decimal_float log8df (decimal_float x); extern decimal_double log8d (decimal_double x); extern decimal_long_double log8dl (decimal_long_double x); extern decimal_long_long_double log8dll (decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
Caution: Avoid use of log8(1 + x) for small-magnitude x; use log81p(x) instead to avoid serious accuracy loss.