SINH(3M) — Silicon Graphics
NAME
sinh, cosh, tanh − hyperbolic functions
SYNOPSIS
#include <math.h>
float sinh (x)
float x;
long float _lsinh (x)
long float x;
float cosh (x)
float x;
long float _lcosh (x)
long float x;
float tanh (x)
float x;
long float _ltanh (x)
long float x;
DESCRIPTION
Sinh (_lsinh), cosh (_lcosh) and tanh (_ltanh) return respectively the hyberbolic sine, cosine and tangent of their floating point argument.
DIAGNOSTICS
Sinh, _lsinh, cosh, and _lcosh check their input for NaN or ∞, or values which would cause overflow, raising a floating point exception via fpsignal(3C). The operation is set to MATH, the type set to INVALID_OP_A (NaN), INVALID_OP_F2 (∞), or OVERFL, and the code for the function raising the exception is set in _mathfunc_id. Tanh (_ltanh) calls sinh (_lsinh), and cosh (_lcosh). Thus, errors which occur when using the hyperbolic tangent will be signalled by these other hyperbolic functions.
SEE ALSO
Version 2.1 — January 02, 1985