FESETENV 3CW "09 March 2006" "mathcw-1.00"
Table of contents
fesetenv - set floating-point environment
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <fenvcw.h>
extern fesetenv (const fenv_t *envp);
Set the floating-point environment to that stored in the argument
envp.
The argument is an opaque data type that should not be directly
accessed by user code.
The argument
envp
must point to an object set by a previous call to
fegetenv()
or
feholdexcept(),
or be a floating-point environment macro, currently only
FE_DFL_ENV.
Return zero on success, and a negative value on failure.
None.
feclearexcept(3CW),
fegetenv(3CW),
fegetexceptflag(3CW),
fegetprec(3CW),
fegetround(3CW),
feholdexcept(3CW),
feraiseexcept(3CW),
fesetexceptflag(3CW),
fesetprec(3CW),
fesetround(3CW),
fetestexcept(3CW),
feupdateenv(3CW).