Namespaces
Variants
Views
Actions

feupdatedenv

From cppreference.com
< c‎ | numeric‎ | fenv
Revision as of 19:17, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <<fenv.h>>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
int feupdateenv( const fenv_t* envp );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </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 fesetenv), 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 feholdexcept.

Contents

Parameters

envp - pointer to the object of type fenv_t set by an earlier call to feholdexcept or fegetenv or equal to FE_DFL_ENV

Return value

0 on success, non-zero otherwise.

Example

See also

Template:c/numeric/fenv/dcl list feholdexceptTemplate:c/numeric/fenv/dcl list feenvTemplate:c/numeric/fenv/dcl list FE DFL ENV
C++ documentation for feupdateenv