sinh(3M)
sinh, cosh, tanh, fsinh, sinhf, fcosh, coshf, ftanh, tanhf, sinhl, coshl, tanhl - hyperbolic functions
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME sinh, cosh, tanh, fsinh, sinhf, fcosh, coshf, ftanh, tanhf, sinhl, coshl, tanhl - hyperbolic functions SYNOPSIS #include <math.h> double sinh(double x); float fsinh(float x); float sinhf(float x); long double sinhl(long double x); double cosh(double x); float fcosh(float x); float coshf(float x); long double coshl(long double x); double tanh(double x); float ftanh(float x); float tanhf(float x); long double tanhl(long double x); DESCRIPTION The long double and single-precision routines listed above are only available in the standard math library, -lm and in -lmx. These functions compute the designated hyperbolic functions for double, float, and long double arguments. ERROR (due to Roundoff etc.) Below 2.4 ulps; an ulp is one Unit in the Last Place. DIAGNOSTICS In the diagnostics below, functions in the standard math library libm.a, are referred to as -lm versions, those in math library libmx.a are referred to as -lmx versions, and those in the the BSD math library libm43.a are referred to as -lm43 versions. The -lm and -lmx versions always return the default Quiet NaN and set errno to EDOM when a NaN is used as an argument. A NaN argument usually causes the -lm43 versions to return the same argument. The -lm43 versions never set errno. The value of HUGE_VAL is IEEE Infinity. If the correct result would overflow, the cosh functions return HUGE_VAL. The sinh functions return HUGE_VAL for positive x and -HUGE_VAL for negative x. The -lm versions also set errno to ERANGE for any overflow. See matherr(3M) for a description of error handling for -lmx functions. NOTES Long double operations on this system are only supported in round to nearest rounding mode (the default). The system must be in round to nearest rounding mode when calling any of the long double functions, or incorrect answers will result. Users concerned with portability to other computer systems should note that the long double and float versions of these functions are optional according to the ANSI C Programming Language Specification ISO/IEC 9899 : 1990 (E). Long double functions have been renamed to be compliant with the ANSI-C standard, however to be backward compatible, they may still be called with the double precision function name prefixed with a q. SEE ALSO math(3M), matherr(3M) AUTHOR W. Kahan, Kwok-Choi Ng