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

NAME

6       signbit - test sign
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <math.h>
11
12       int signbit(real-floating x);
13
14

DESCRIPTION

16       The  signbit()  macro determines whether the sign of its argument value
17       is negative. NaNs, zeros, and infinities have a sign bit.
18

RETURN VALUES

20       The signbit() macro returns a non-zero value if and only if the sign of
21       its argument value is negative.
22

ERRORS

24       No errors are defined.
25

ATTRIBUTES

27       See attributes(5) for descriptions of the following attributes:
28
29
30
31
32       ┌─────────────────────────────┬─────────────────────────────┐
33       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
34       ├─────────────────────────────┼─────────────────────────────┤
35       │Interface Stability          │Standard                     │
36       ├─────────────────────────────┼─────────────────────────────┤
37       │MT-Level                     │MT-Safe                      │
38       └─────────────────────────────┴─────────────────────────────┘
39

SEE ALSO

41       fpclassify(3M),   isfinite(3M),   isinf(3M),  isnan(3M),  isnormal(3M),
42       math.h(3HEAD), attributes(5), standards(5)
43
44
45
46SunOS 5.11                        12 Jul 2006                      signbit(3M)
Impressum