cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float exp10m1f (float x); extern double exp10m1 (double x); extern long double exp10m1l (long double x); extern __float80 exp10m1w (__float80 x); extern __float128 exp10m1q (__float128 x); extern long_long_double exp10m1ll (long_long_double x); extern decimal_float exp10m1df (decimal_float x); extern decimal_double exp10m1d (decimal_double x); extern decimal_long_double exp10m1dl (decimal_long_double x); extern decimal_long_long_double exp10m1dll (decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
For arguments of small magnitude, exp10m1(x) retains full accuracy, while direct computation of exp10(x) - 1 suffers loss of leading significant digits.