* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto. Merge in mingwex branch.
This commit is contained in:
12
winsup/mingw/mingwex/fegetenv.c
Normal file
12
winsup/mingw/mingwex/fegetenv.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <fenv.h>
|
||||
|
||||
/* 7.6.4.1
|
||||
The fegetenv function stores the current floating-point environment
|
||||
in the object pointed to by envp. */
|
||||
|
||||
int fegetenv (fenv_t * envp)
|
||||
{
|
||||
__asm__ ("fnstenv %0;": "=m" (*envp));
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user