Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

sinh(3m)

NAME

sinh, cosh, tanh − hyperbolic functions

SYNTAX

#include <math.h>

double sinh(x)

double cosh(x)
double x;

double tanh(x)
double x;

DESCRIPTION

These functions compute the designated hyperbolic functions for real arguments. 

ENVIRONMENT

When your program is compiled using the System V environment, sinh and cosh return HUGE (and sinh may return HUGE for negative x ) when the correct value would overflow and set errno to ERANGE. 

These error-handling procedures may be changed with the function matherr(.).

RETURN VALUE

The sinh and cosh routines return a huge value of appropriate sign when the correct value would overflow.

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