cacosh, cacoshf, cacoshl - complex arc hyperbolic cosine


   #include <complex.h>

   double complex cacosh(double complex z);
   float complex cacoshf(float complex z);
   long double complex cacoshl(long double complex z);

   Link with -lm.


   These  functions  calculate the complex arc hyperbolic cosine of z.  If
   y = cacosh(z), then z = ccosh(y).  The imaginary part of y is chosen in
   the interval [-pi,pi].  The real part of y is chosen nonnegative.

   One has:

       cacosh(z) = 2 * clog(csqrt((z + 1) / 2) + csqrt((z - 1) / 2))


   These functions first appeared in glibc in version 2.1.


   For   an   explanation   of   the  terms  used  in  this  section,  see

   │InterfaceAttributeValue   │
   │cacosh(), cacoshf(), cacoshl() │ Thread safety │ MT-Safe │


   C99, POSIX.1-2001, POSIX.1-2008.


   /* Link with "-lm" */

   #include <complex.h>
   #include <stdlib.h>
   #include <unistd.h>
   #include <stdio.h>

   main(int argc, char *argv[])
       double complex z, c, f;

       if (argc != 3) {
           fprintf(stderr, "Usage: %s <real> <imag>\n", argv[0]);

       z = atof(argv[1]) + atof(argv[2]) * I;

       c = cacosh(z);
       printf("cacosh() = %6.3f %6.3f*i\n", creal(c), cimag(c));

       f = 2 * clog(csqrt((z + 1)/2) + csqrt((z - 1)/2));
       printf("formula  = %6.3f %6.3f*i\n", creal(f2), cimag(f2));



   acosh(3), cabs(3), ccosh(3), cimag(3), complex(7)


   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

                              2015-04-19                         CACOSH(3)

More Linux Commands

ruserok(3) - routines for returning a stream to a remote com
The rcmd() function is used by the superuser to execute a command on a remote machine using an authentication scheme based on privileged port numbers. The rresv

glTexEnvfv(3gl) - set texture environment parameters........
A texture environment specifies how texture values are interpreted when a fragment is textured. target must be GL_TEXTURE_ENV. pname can be either GL_TEXTURE_EN

pututxline(3) - access utmp file entries - Linux man page...
New applications should use the POSIX.1-specified utmpx versions of these functions; see CONFORMING TO. utmpname() sets the name of the utmp-format file for the

fftest(1) tests force-feedback devices. - Linux manual page
fftest provides a variety of tests which can be applied to force-feedback devices. Beware, the tests may damage your device! OPTIONS &lt;device&gt; The device to test

libtoolize(1) - manual page for libtoolize 2.4 (Man Page)...
Prepare a package to use libtool. -c, --copy copy files rather than symlinking them --debug enable verbose shell tracing -n, --dry-run print commands rather tha

mrtg-contrib(1) Contribution Guidelines for MRTG (Man Page)
If you have written an extension to mrtg or created a bug fix, please consider contributing it to the project. As I get quite a number of contributions every we

XDestroyIC(3) - create, destroy, and obtain the input method
The XCreateIC function creates a context within the specified input method. Some of the arguments are mandatory at creation time, and the input context will not

systemd-udevd-control.socket(8) Device event managing daemon
systemd-udevd-control.socket.8 - systemd-udevd listens to kernel uevents. For every event, systemd-udevd executes matching instructions specified in udev rules.

regsub(n) - Perform substitutions based on regular expressio
This command matches the regular expression exp against string, and either copies string to the variable whose name is given by varName or returns string if var

XkbIgnoreExtension(3) - Prevents core X library keyboard fun
If a server supports the Xkb extension, the X library normally implements preXkb keyboard functions using the Xkb keyboard description and state. The server Xkb

DMXChangeDesktopAttributes(3) - change global bounding box
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect on the screen layout. A

git-get-tar-commit-id(1) - Extract commit ID from an archive
Acts as a filter, extracting the commit ID stored in archives created by git archive. It reads only the first 1024 bytes of input, thus its runtime is not influ

We can't live, work or learn in freedom unless the software we use is free.