1SINH(3)                    Linux Programmer's Manual                   SINH(3)
2
3
4

NAME

6       sinh, sinhf, sinhl - hyperbolic sine function
7

SYNOPSIS

9       #include <math.h>
10
11       double sinh(double x);
12       float sinhf(float x);
13       long double sinhl(long double x);
14
15       Link with -lm.
16
17   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
18
19       sinhf(), sinhl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600
20       || _ISOC99_SOURCE; or cc -std=c99
21

DESCRIPTION

23       The sinh() function returns the hyperbolic sine of x, which is  defined
24       mathematically as:
25
26           sinh(x) = (exp(x) - exp(-x)) / 2
27

RETURN VALUE

29       On success, these functions return the hyperbolic sine of x.
30
31       If x is a NaN, a NaN is returned.
32
33       If x is +0 (-0), +0 (-0) is returned.
34
35       If x is positive infinity (negative infinity), positive infinity (nega‐
36       tive infinity) is returned.
37
38       If the result overflows, a range error occurs, and the functions return
39       HUGE_VAL,  HUGE_VALF, or HUGE_VALL, respectively, with the same sign as
40       x.
41

ERRORS

43       See math_error(7) for information on how to determine whether an  error
44       has occurred when calling these functions.
45
46       The following errors can occur:
47
48       Range error: result overflow
49              errno  is  set  to ERANGE.  An overflow floating-point exception
50              (FE_OVERFLOW) is raised.
51

CONFORMING TO

53       C99, POSIX.1-2001.  The variant returning double also conforms to SVr4,
54       4.3BSD, C89.
55

SEE ALSO

57       acosh(3), asinh(3), atanh(3), cosh(3), csinh(3), tanh(3)
58

COLOPHON

60       This  page  is  part of release 3.22 of the Linux man-pages project.  A
61       description of the project, and information about reporting  bugs,  can
62       be found at http://www.kernel.org/doc/man-pages/.
63
64
65
66                                  2008-08-05                           SINH(3)
Impressum