| Defined in header |
int fegetenv( std::fenv_t* envp )
int fesetenv( const std::fenv_t* envp );
Manages the status of the floating-point environment.
envp. The value of that object must be previously obtained by a call to
std::fegetenvor be a floating-point macro constant. If any of the floating-point status flags are set in
envp, they become set in the environment (and are then testable with
std::fetestexcept), but the corresponding floating-point exceptions are not raised (execution continues uninterrupted)
|envp||-|| pointer to the object of type
0 on success, non-zero otherwise.
| saves the environment, clears all status flags and ignores all future errors
| restores the floating-point environment and raises the previously raise exceptions
| default floating-point environment
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.