C Programming/fenv.h/fesetenv

Function prototype edit

int fesetenv(const fenv_t *envp);

Description edit

This function attempts to establish the floating-point environment represented by the object pointed to by envp. The argument envp points to an object set by a call to fegetenv() or feholdexcept(), or equal a floating-point environment macro. This function does not raise floating-point exceptions, but only installs the state of the floating-point status flags represented through its argument.

References edit