* mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes. Add Changelog entry for the reverted change.
This commit is contained in:
@@ -8,11 +8,12 @@
|
||||
the inexact exception whenever it raises the overflow
|
||||
or underflow exception is implementation-defined. */
|
||||
|
||||
void feraiseexcept (int excepts)
|
||||
int feraiseexcept (int excepts)
|
||||
{
|
||||
fenv_t _env;
|
||||
__asm__ volatile ("fnstenv %0;" : "=m" (_env));
|
||||
_env.__status_word |= excepts & FE_ALL_EXCEPT;
|
||||
__asm__ volatile ("fldenv %0;"
|
||||
"fwait;" : : "m" (_env));
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user