Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
fenv
/
fesetexceptflag.c
blob: af5f102d22313fa00da2c7b3d67b68548c8dbb28 [
file
] [
log
] [
blame
]
#include
<fenv.h>
int
fesetexceptflag
(
const
fexcept_t
*
fp
,
int
mask
)
{
feclearexcept
(~*
fp
&
mask
);
feraiseexcept
(*
fp
&
mask
);
return
0
;
}