cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float vlrcwf (int n, float u[], float a, float b); extern double vlrcw (int n, double u[], double a, double b); extern long double vlrcwl (int n, long double u[], long double a, long double b); extern __float80 vlrcww (int n, __float80 u[], __float80 a, __float80 b); extern __float128 vlrcwq (int n, __float128 u[], __float128 a, __float128 b); extern long_long_double vlrcwll (int n, long_long_double u[], long_long_double a, long_long_double b); extern decimal_float vlrcwdf (int n, decimal_float u[], decimal_float a, decimal_float b); extern decimal_double vlrcwd (int n, decimal_double u[], decimal_double a, decimal_double b); extern decimal_long_double vlrcwdl (int n, decimal_long_double u[], decimal_long_double a, decimal_long_double b); extern decimal_long_long_double vlrcwdll (int n, decimal_long_long_double u[], decimal_long_long_double a, decimal_long_long_double b);
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.