1SINH(3P)                   POSIX Programmer's Manual                  SINH(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       sinh, sinhf, sinhl - hyperbolic sine functions
13

SYNOPSIS

15       #include <math.h>
16
17       double sinh(double x);
18       float sinhf(float x);
19       long double sinhl(long double x);
20
21

DESCRIPTION

23       These functions shall compute the hyperbolic sine of their argument x.
24
25       An application wishing to check for error situations should  set  errno
26       to  zero  and  call  feclearexcept(FE_ALL_EXCEPT)  before calling these
27       functions.  On return, if errno is non-zero or  fetestexcept(FE_INVALID
28       |  FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) is non-zero, an error has
29       occurred.
30

RETURN VALUE

32       Upon successful completion, these functions shall return the hyperbolic
33       sine of x.
34
35       If  the  result  would cause an overflow, a range error shall occur and
36       ±HUGE_VAL, ±HUGE_VALF, and ±HUGE_VALL (with the same sign as  x)  shall
37       be returned as appropriate for the type of the function.
38
39       If x is NaN, a NaN shall be returned.
40
41       If x is ±0 or ±Inf, x shall be returned.
42
43       If x is subnormal, a range error may occur and x should be returned.
44

ERRORS

46       These functions shall fail if:
47
48       Range Error
49              The result would cause an overflow.
50
51       If  the integer expression (math_errhandling & MATH_ERRNO) is non-zero,
52       then errno  shall  be  set  to  [ERANGE].  If  the  integer  expression
53       (math_errhandling  &  MATH_ERREXCEPT)  is  non-zero,  then the overflow
54       floating-point exception shall be raised.
55
56
57       These functions may fail if:
58
59       Range Error
60              The value x is subnormal.
61
62       If the integer expression (math_errhandling & MATH_ERRNO) is  non-zero,
63       then  errno  shall  be  set  to  [ERANGE].  If  the  integer expression
64       (math_errhandling & MATH_ERREXCEPT) is  non-zero,  then  the  underflow
65       floating-point exception shall be raised.
66
67
68       The following sections are informative.
69

EXAMPLES

71       None.
72

APPLICATION USAGE

74       On   error,   the   expressions  (math_errhandling  &  MATH_ERRNO)  and
75       (math_errhandling & MATH_ERREXCEPT) are independent of each other,  but
76       at least one of them must be non-zero.
77

RATIONALE

79       None.
80

FUTURE DIRECTIONS

82       None.
83

SEE ALSO

85       asinh(),  cosh(), feclearexcept(), fetestexcept(), isnan(), tanh(), the
86       Base Definitions volume of IEEE Std 1003.1-2001, Section  4.18,  Treat‐
87       ment of Error Conditions for Mathematical Functions, <math.h>
88
90       Portions  of  this text are reprinted and reproduced in electronic form
91       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
92       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
93       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
94       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
95       event of any discrepancy between this version and the original IEEE and
96       The  Open Group Standard, the original IEEE and The Open Group Standard
97       is the referee document. The original Standard can be  obtained  online
98       at http://www.opengroup.org/unix/online.html .
99
100
101
102IEEE/The Open Group                  2003                             SINH(3P)
Impressum