SINH(3M)
NAME
sinh, cosh, tanh − hyperbolic functions
SYNOPSIS
#include <math.h>
double sinh (x)
double x;
double cosh (x)
double x;
double tanh (x)
double x;
DESCRIPTION
Sinh, cosh, and tanh return respectively the hyberbolic sine, cosine and tangent of their argument.
DEPENDENCIES
Series 800 (/lib/libm.a and ANSI C /lib/libM.a)
When x is ±INFINITY , sinh returns ±INFINITY respectively.
When x is ±INFINITY , cosh returns +INFINITY .
When x is ±INFINITY , tanh returns ±1.0 respectively.
ERRORS
Series 300
Sinh and cosh return HUGE_VAL (and sinh may return −HUGE_VAL for negative x) and set errno to ERANGE when the correct value would overflow.
Series 800 (/lib/libm.a and ANSI C /lib/libM.a)
Sinh and cosh return HUGE_VAL (and sinh may return −HUGE_VAL for negative x) and set errno to ERANGE when the correct value would overflow.
Sinh, cosh and tanh return NaN and set errno to EDOM when x is NaN.
These error-handling procedures may be changed with the function matherr(3M).
SEE ALSO
isinf(3M), isnan(3M), matherr(3M).
STANDARDS CONFORMANCE
sinh: SVID2, XPG2, XPG3, POSIX.1, FIPS 151-1, ANSI C
cosh: SVID2, XPG2, XPG3, POSIX.1, FIPS 151-1, ANSI C
tanh: SVID2, XPG2, XPG3, POSIX.1, FIPS 151-1, ANSI C
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989