sinh(3m) — RISC
Name
sinh, cosh, tanh − hyperbolic functions
Syntax
#include <math.h>
double sinh(x)
double x;
float fsinh(x)
float x;
double cosh(x)
double x;
float fcosh(x)
float x;
double tanh(x)
double x;
float ftanh(x)
float x;
Description
These functions compute the designated hyperbolic functions for double and float data types.
Error
Below 2.4 ulps (unit in the last place).
Diagnostics
The sinh and cosh functions return +∞ (and sinh may return -∞ for negative x) if the correct value would overflow.