xref: /csrg-svn/lib/libm/common_source/cosh.3 (revision 61285)
1*61285Sbostic.\" Copyright (c) 1989, 1991, 1993
2*61285Sbostic.\"	The Regents of the University of California.  All rights reserved.
348921Scael.\"
448921Scael.\" %sccs.include.redist.man%
548921Scael.\"
6*61285Sbostic.\"     @(#)cosh.3	8.1 (Berkeley) 06/04/93
748921Scael.\"
848921Scael.Dd
948921Scael.Dt COSH 3
1048921Scael.Os
1148921Scael.Sh NAME
1248921Scael.Nm cosh
1348921Scael.Nd hyperbolic cosine function
1448921Scael.Sh SYNOPSIS
1548921Scael.Fd #include <math.h>
1648921Scael.Ft double
1748921Scael.Fn cosh "double x"
1848921Scael.Sh DESCRIPTION
1948921ScaelThe
2048921Scael.Fn cosh
2148921Scaelfunction computes the hyperbolic cosine of
2248921Scael.Fa x .
2348921Scael.Sh RETURN VALUES
2448921ScaelThe
2548921Scael.Fn cosh
2648921Scaelfunction returns the hyperbolic cosine unless the magnitude
2748921Scaelof
2848921Scael.Fa x
2948921Scaelis too large; in this event, the global variable
3048921Scael.Va errno
3148921Scaelis set to
3248921Scael.Er ERANGE .
3348921Scael.Sh SEE ALSO
3448921Scael.Xr acos 3 ,
3548921Scael.Xr asin 3 ,
3648921Scael.Xr atan 3 ,
3748921Scael.Xr atan2 3 ,
3848921Scael.Xr cos 3 ,
3948921Scael.Xr sin 3 ,
4048921Scael.Xr sinh 3 ,
4148921Scael.Xr tan 3 ,
4248921Scael.Xr tanh 3 ,
4348921Scael.Xr math 3 ,
4448921Scael.Sh STANDARDS
4548921ScaelThe
4648921Scael.Fn cosh
4748921Scaelfunction conforms to
4848921Scael.St -ansiC .
49