FEUPDATEENV 3CW "09 March 2006" "mathcw-1.00"
Table of contents
feupdateenv - update floating-point environment
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <fenvcw.h>
extern int feupdateenv (const fenv_t *fenvp);
Save the currently raised floating-point exceptions in internal
storage, install the floating-point environment defined by the object
pointed to by
envp,
and then raise the saved floating-point exceptions. 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),
fesetenv(3CW),
fesetexceptflag(3CW),
fesetprec(3CW),
fesetround(3CW),
fetestexcept(3CW).