Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tanh(3M) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fpsigset(3C)

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 fpsigset (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

fpsigset(3C). 

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026