cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float vnrcwf (int n, float u[]); extern double vnrcw (int n, double u[]); extern long double vnrcwl (int n, long double u[]); extern __float80 vnrcww (int n, __float80 u[]); extern __float128 vnrcwq (int n, __float128 u[]); extern long_long_double vnrcwll (int n, long_long_double u[]); extern decimal_float vnrcwdf (int n, decimal_float u[]); extern decimal_double vnrcwd (int n, decimal_double u[]); extern decimal_long_double vnrcwdl (int n, decimal_long_double u[]); extern decimal_long_long_double vnrcwdll (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.