cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float scalblnf (float x, long int n); extern double scalbln (double x, long int n); extern long double scalblnl (long double x, long int n); extern __float80 scalblnw (__float80 x, long int n); extern __float128 scalblnq (__float128 x, long int n); extern long_long_double scalblnll (long_long_double x, long int n); extern decimal_float scalblndf (decimal_float x, long int n); extern decimal_double scalblnd (decimal_double x, long int n); extern decimal_long_double scalblndl (decimal_long_double x, long int n); extern decimal_long_long_double scalblndll (decimal_long_long_double x, long int n);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
A companion function, scalbn(x,n), provides for a lower-precision exponent.