Commit 06f205d0 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr120: Add feupdateenv implementation.

parent cdcfba9a
......@@ -2155,7 +2155,7 @@
@ cdecl fesetexceptflag(ptr long)
@ cdecl fesetround(long)
@ cdecl fetestexcept(long)
@ stub feupdateenv
@ cdecl feupdateenv(ptr)
@ cdecl fflush(ptr)
@ cdecl fgetc(ptr)
@ cdecl fgetpos(ptr ptr)
......
......@@ -1821,7 +1821,7 @@
@ cdecl fesetexceptflag(ptr long) msvcr120.fesetexceptflag
@ cdecl fesetround(long) msvcr120.fesetround
@ cdecl fetestexcept(long) msvcr120.fetestexcept
@ stub feupdateenv
@ cdecl feupdateenv(ptr) msvcr120.feupdateenv
@ cdecl fflush(ptr) msvcr120.fflush
@ cdecl fgetc(ptr) msvcr120.fgetc
@ cdecl fgetpos(ptr ptr) msvcr120.fgetpos
......
......@@ -2227,6 +2227,16 @@ int CDECL fegetenv(fenv_t *env)
}
/*********************************************************************
* feupdateenv (MSVCR120.@)
*/
int CDECL feupdateenv(const fenv_t *env)
{
fenv_t set = *env;
set._Fe_stat |= _statusfp();
return fesetenv(&set);
}
/*********************************************************************
* fetestexcept (MSVCR120.@)
*/
int CDECL fetestexcept(int flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment