Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

math(3)

sinh(3)  —  Subroutines

Digital

NAME

sinh, fsinh, cosh, fcosh, tanh, ftanh − hyperbolic functions

SYNOPSIS

#include <math.h>

double sinh(x)
double x;

float fsinh(float x)
float x;

double cosh(x)
double x;

float fcosh(float x)
float x;

double tanh(x)
double x;

float ftanh(float x)
float x;

DESCRIPTION

These functions compute the designated hyperbolic functions for double and float data types. 

ERROR (due to Roundoff etc.)

Below 2.4 ulps; an ulp is one Unit in the Last Place. 

ERRORS

sinh and cosh return +∞ (and sinh may return -∞ for negative x) if the correct value would overflow.

RELATED INFORMATION

math(3)

AUTHOR

W. Kahan, Kwok−Choi Ng

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