Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sinh(3M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

asinh(3M)

cosh(3M)

isnan(3M)

matherr(3M)

tanh(3M)

attributes(5)

standards(5)

sinh(3M)

NAME

sinh − hyperbolic sine function

SYNOPSIS

cc [ flag ... ] file ... −lm [ library ... ]

#include <math.h>

double sinh(double x);

DESCRIPTION

The sinh() function computes the hyperbolic sine of x.

RETURN VALUES

Upon successful completion, sinh() returns the hyperbolic sine of x.

If the result would cause an overflow, ±HUGE_VAL is returned and errno is set to ERANGE. 

If x is NaN, NaN is returned. 

For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by Standards other than XPG4. 

ERRORS

The sinh() function will fail if:

ERANGE The result would cause overflow. 

USAGE

An application wishing to check for error situations should set errno to 0 before calling sinh().  If errno is non-zero on return, or the return value is NaN, an error has occurred. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

asinh(3M), cosh(3M), isnan(3M), matherr(3M), tanh(3M), attributes(5), standards(5)

SunOS 5.6  —  Last change: 29 Dec 1996

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