cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> #include <paircw.h> extern void pldexpf (float_pair result, const float_pair x, int n); extern void pldexp (double_pair result, const double_pair x, int n); extern void pldexpl (long_double_pair result, const long_double_pair x, int n); extern void pldexpw (__float80_pair result, const __float80_pair x, int n); extern void pldexpq (__float128_pair result, const __float128_pair x, int n); extern void pldexpll (long_long_double_pair result, const long_long_double_pair x, int n); extern void pldexpdf (decimal_float_pair result, const decimal_float_pair x, int n); extern void pldexpd (decimal_double_pair result, const decimal_double_pair x, int n); extern void pldexpdl (decimal_long_double_pair result, const decimal_long_double_pair x, int n); extern void pldexpdll (decimal_long_long_double_pair result, const decimal_long_long_double_pair x, int n);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
For octal- and hexadecimal-base systems, these functions are not exact unless the power is a multiple of three (octal) or four (hexadecimal). Use the pldexph() or pldexpo() families instead on such systems.
For pldexpdf(), pldexpd(), pldexpdl(), and pldexpdll(), compute the product of the first argument and ten to the power of the second argument exactly.