5092e4a714
Do not return a value. * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise. * mingwex/feraiseexcept.c (feraiseexcept): Likewise. * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise. * mingwex/fegetenv.c (fegetenv): Likewise. * mingwex/fesetenv.c (fesetenv): Likewise. * mingwex/feupdateenv.c (feupdateenv): Likewise. * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct prototypes.
12 lines
218 B
C
12 lines
218 B
C
#include <fenv.h>
|
|
|
|
/* 7.6.4.1
|
|
The fegetenv function stores the current floating-point environment
|
|
in the object pointed to by envp. */
|
|
|
|
void fegetenv (fenv_t * envp)
|
|
{
|
|
__asm__ ("fnstenv %0;": "=m" (*envp));
|
|
}
|
|
|