std::fegetenv, std::feupdatedenv
From cppreference.com
Template:cpp/numeric/fenv/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<cfenv>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >int feupdateenv( const std::fenv_t* envp )
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end
First, remembers the currently raised floating-point exceptions, then restores the floating-point environment from the object pointed to by envp
(similar to Template:cpp), then raises the floating-point exceptions that were saved.
This function may be used to end the non-stop mode established by an earlier call to Template:cpp.
Parameters
envp | - | pointer to the object of type Template:cpp set by an earlier call to Template:cpp or std::fegetenv or equal to Template:cpp
|
Return value
Template:cpp on success, non-zero otherwise.