STORE 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

storef, store, storel, storew, storeq, storell, storedf, stored, storedl, storedll - square root function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern void storef (float *x);

extern void store (double *x);

extern void storel (long double *x);

extern void storew (__float80 *x);

extern void storeq (__float128 *x);

extern void storell (long_long_double *x);

extern void storedf (decimal_float *x);

extern void stored (decimal_double *x);

extern void storedl (decimal_long_double *x);

extern void storedll (decimal_long_long_double *x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Force the storage of the argument into memory to thwart machines that have floating-point registers of higher precision than memory formats.

Most modern C/C++/Java compilers support the volatile type modifier, which effectively prevents the compiler from maintaining a variable in a register, and forces a load from memory each time the variable is needed. A call to the store() function family is then not required, but careful programmers may wish to use such calls in special numerical computations where higher precision is harmful.


RETURN VALUES

None.

ERRORS

None.

SEE ALSO

None.