cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float vercwf (int n, float u[]); extern double vercw (int n, double u[]); extern long double vercwl (int n, long double u[]); extern __float80 vercww (int n, __float80 u[]); extern __float128 vercwq (int n, __float128 u[]); extern long_long_double vercwll (int n, long_long_double u[]); extern decimal_float vercwdf (int n, decimal_float u[]); extern decimal_double vercwd (int n, decimal_double u[]); extern decimal_long_double vercwdl (int n, decimal_long_double u[]); extern decimal_long_long_double vercwdll (int n, decimal_long_long_double u[]);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
The generator state is kept internally to simplify the user interface. However, this is not safe in multithreaded programs. For them, use the reentrant generator routines instead, identified by the suffix _r. The reentrant routines also make possible families of independent generators within the same program.