3.5.1.2.20 Coth

Description

The coth(x) function is the hyperbolic cotangent of x.

Syntax

double coth(double x)

Parameters

x

x is any non-zero real number. Note that numbers whose absolute value is greater than about 710 return 1/-1.

Return

Returns the hyperbolic cotangent of x.

Example

val = coth(-.909); // val will have a value of ~-1.3876

See Also

Sinh, Cosh, Tanh, Sech, Csch