1feraiseexcept(3M)       Mathematical Library Functions       feraiseexcept(3M)
2
3
4

NAME

6       feraiseexcept - raise floating-point exception
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <fenv.h>
11
12       int feraiseexcept(int excepts);
13
14

DESCRIPTION

16       The  feraiseexcept() function attempts to raise the supported floating-
17       point exceptions represented by the  excepts  argument.  The  order  in
18       which these floating-point exceptions are raised is unspecified.
19

RETURN VALUES

21       If  excepts  is  0 or if all the specified exceptions were successfully
22       raised, feraiseexcept() returns 0. Otherwise,  it  returns  a  non-zero
23       value.
24

ERRORS

26       No errors are defined.
27

USAGE

29       The  effect  is intended to be similar to that of floating-point excep‐
30       tions raised by arithmetic operations. Hence, enabled traps for  float‐
31       ing-point exceptions raised by this function are taken.
32

ATTRIBUTES

34       See attributes(5) for descriptions of the following attributes:
35
36
37
38
39       ┌─────────────────────────────┬─────────────────────────────┐
40       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │Interface Stability          │Standard                     │
43       ├─────────────────────────────┼─────────────────────────────┤
44       │MT-Level                     │MT-Safe                      │
45       └─────────────────────────────┴─────────────────────────────┘
46

SEE ALSO

48       feclearexcept(3M),    fegetexceptflag(3M),   fenv.h(3HEAD),   fetestex‐
49       cept(3M), attributes(5), standards(5)
50
51
52
53SunOS 5.11                        12 Jul 2006                feraiseexcept(3M)
Impressum