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():
20           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
21               || /* Since glibc 2.19: */ _DEFAULT_SOURCE
22               || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
23

DESCRIPTION

25       These functions return the hyperbolic sine of x, which is defined math‐
26       ematically as:
27
28           sinh(x) = (exp(x) - exp(-x)) / 2
29

RETURN VALUE

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

ERRORS

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

ATTRIBUTES

55       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
56       tributes(7).
57
58       ┌────────────────────────────────────────────┬───────────────┬─────────┐
59Interface                                   Attribute     Value   
60       ├────────────────────────────────────────────┼───────────────┼─────────┤
61sinh(), sinhf(), sinhl()                    │ Thread safety │ MT-Safe │
62       └────────────────────────────────────────────┴───────────────┴─────────┘
63

CONFORMING TO

65       C99, POSIX.1-2001, POSIX.1-2008.
66
67       The variant returning double also conforms to SVr4, 4.3BSD, C89.
68

SEE ALSO

70       acosh(3), asinh(3), atanh(3), cosh(3), csinh(3), tanh(3)
71

COLOPHON

73       This page is part of release 5.13 of the Linux  man-pages  project.   A
74       description  of  the project, information about reporting bugs, and the
75       latest    version    of    this    page,    can     be     found     at
76       https://www.kernel.org/doc/man-pages/.
77
78
79
80                                  2021-03-22                           SINH(3)
Impressum