projects
/
libm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
af5f102d22313fa00da2c7b3d67b68548c8dbb28
[libm]
/
fesetexceptflag.c
1
#include <fenv.h>
2
3
int fesetexceptflag(const fexcept_t *fp, int mask)
4
{
5
feclearexcept(~*fp & mask);
6
feraiseexcept(*fp & mask);
7
return 0;
8
}