cosh, coshf, coshl - hyperbolic cosine function
#include <math.h> double cosh(double x); float coshf(float x); long double coshl(long double x); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): coshf(), coshl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
These functions return the hyperbolic cosine of x, which is defined mathematically as: cosh(x) = (exp(x) + exp(-x)) / 2
On success, these functions return the hyperbolic cosine of x. If x is a NaN, a NaN is returned. If x is +0 or -0, 1 is returned. If x is positive infinity or negative infinity, positive infinity is returned. If the result overflows, a range error occurs, and the functions return +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL, respectively.
See math_error(7) for information on how to determine whether an error has occurred when calling these functions. The following errors can occur: Range error: result overflow errno is set to ERANGE. An overflow floating-point exception (FE_OVERFLOW) is raised.
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value cosh(), coshf(), coshl() Thread safety MT-Safe
C99, POSIX.1-2001, POSIX.1-2008. The variant returning double also conforms to SVr4, 4.3BSD.
In glibc version 2.3.4 and earlier, an overflow floating-point (FE_OVERFLOW) exception is not raised when an overflow occurs.
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2016-03-15 COSH(3)
More Linux Commands
XCompositeRedirectSubwindows(3) - X Composite Extension libr
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s
man(1) - an interface to the on-line reference manuals......
man is the systems manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of
setsid(2) - creates a session and sets the process group ID
setsid() creates a new session if the calling process is not a process group leader. The calling process is the leader of the new session, the process group lea
pam_syslog(3) - send messages to the system logger (ManPage)
The pam_syslog function logs messages using syslog(3) and is intended for internal use by Linux-PAM and PAM service modules. The priority argument is formed by
aulastlog(8) a program similar to lastlog - Linux man page
aulastlog is a program that prints out the last login for all users of a machine similar to the way lastlog does. The login-name, port, and last login time will
gnutls_pkcs11_obj_export(3) - API function - Linux man page
This function will export the PKCS11 object data. It is normal for data to be inaccesible and in that case GNUTLS_E_INVALID_REQUEST will be returned. If the buf
glPixelMapuiv(3gl) - set up pixel transfer maps (Man Page)
glPixelMap sets up translation tables, or maps, used by glCopyPixels, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCopyTexSub
LIST_ENTRY(3) implementations of lists, tail queues, and cir
These macros define and operate on three types of data structures: lists, tail queues, and circular queues. All three structures support the following functiona
pcre16_get_substring(3) Perl-compatible regular expressions
This is a convenience function for extracting a captured substring. The arguments are: subject Subject that has been successfully matched ovector Offset vector
rendercheck(1) - simple tests of the X Render extension.....
rendercheck is a set of simple tests of the X Render extension. It is designed for authors of Render implementations in X Servers. OPTIONS -d|--display display
Mail::SPF::Mech::A(3pm) - SPF record "a" mechanism class....
An object of class Mail::SPF::Mech::A represents an SPF record mechanism of type a. Constructors The following constructors are provided: new(%options): returns
gethostbyname_r(3) - get network host entry - Linux man page
The gethostbyname*(), gethostbyaddr*(), herror(), and hstrerror() functions are obsolete. Applications should use getaddrinfo(3), getnameinfo(3), and gai_strerr