mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
(__fegetexceptflag): Add masking of fenv.
This commit is contained in:
parent
fd1f2c4aab
commit
d9f0b23a78
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user