FEGETENV 3CW "17 April 2006" "mathcw-1.00"
Table of contents
fegetenv - get current floating-point environment
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <fenvcw.h>
extern int fegetenv (fenv_t *fenvp);
Store the current floating-point environment in the object pointed to by
the
envp
object, which is an opaque data type that should not be directly
accessed by user code. The object can be subsequently used in calls
to
feholdexcept(),
fesetenv(),
and
feupdateenv().
Return zero on success, and a negative value on failure.
None.
feclearexcept(3CW),
fegetexceptflag(3CW),
fegetprec(3CW),
fegetround(3CW),
feholdexcept(3CW),
feraiseexcept(3CW),
fesetenv(3CW),
fesetexceptflag(3CW),
fesetprec(3CW),
fesetround(3CW),
fetestexcept(3CW),
feupdateenv(3CW).