1feclearexcept(3M) Mathematical Library Functions feclearexcept(3M)
2
3
4
6 feclearexcept - clear floating-point exception
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <fenv.h>
11
12 int feclearexcept(int excepts);
13
14
16 The feclearexcept() function attempts to clear the supported floating-
17 point exceptions represented by excepts.
18
20 If excepts is 0 or if all the specified exceptions were successfully
21 cleared, feclearexcept() returns 0. Otherwise, it returns a non-zero
22 value.
23
25 No errors are defined.
26
28 See attributes(5) for descriptions of the following attributes:
29
30
31
32
33 ┌─────────────────────────────┬─────────────────────────────┐
34 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
35 ├─────────────────────────────┼─────────────────────────────┤
36 │Interface Stability │Standard │
37 ├─────────────────────────────┼─────────────────────────────┤
38 │MT-Level │MT-Safe │
39 └─────────────────────────────┴─────────────────────────────┘
40
42 fenv.h(3HEAD), fegetexceptflag(3M), feraiseexcept(3M), fesetexcept‐
43 flag(3M), fetestexcept(3M), attributes(5), standards(5)
44
45
46
47SunOS 5.11 12 Jul 2006 feclearexcept(3M)