xref: /original-bsd/lib/libm/common_source/cosh.3 (revision c3e32dec)
1.\" Copyright (c) 1989, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)cosh.3	8.1 (Berkeley) 06/04/93
7.\"
8.Dd
9.Dt COSH 3
10.Os
11.Sh NAME
12.Nm cosh
13.Nd hyperbolic cosine function
14.Sh SYNOPSIS
15.Fd #include <math.h>
16.Ft double
17.Fn cosh "double x"
18.Sh DESCRIPTION
19The
20.Fn cosh
21function computes the hyperbolic cosine of
22.Fa x .
23.Sh RETURN VALUES
24The
25.Fn cosh
26function returns the hyperbolic cosine unless the magnitude
27of
28.Fa x
29is too large; in this event, the global variable
30.Va errno
31is set to
32.Er ERANGE .
33.Sh SEE ALSO
34.Xr acos 3 ,
35.Xr asin 3 ,
36.Xr atan 3 ,
37.Xr atan2 3 ,
38.Xr cos 3 ,
39.Xr sin 3 ,
40.Xr sinh 3 ,
41.Xr tan 3 ,
42.Xr tanh 3 ,
43.Xr math 3 ,
44.Sh STANDARDS
45The
46.Fn cosh
47function conforms to
48.St -ansiC .
49