(__fegetexceptflag): Add masking of fenv.

This commit is contained in:
Ulrich Drepper 2003-12-06 07:16:41 +00:00
parent fd1f2c4aab
commit d9f0b23a78
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
__fegetexceptflag (fexcept_t *flagp, int excepts)
{
*flagp = (fexcept_t) __sim_exceptions;
*flagp = (fexcept_t) __sim_exceptions & excepts & FE_ALL_EXCEPT;
return 0;
}