1*86f9d4cdStedu.\" $OpenBSD: ccosh.3,v 1.2 2013/06/05 03:40:26 tedu Exp $ 22bfdbafeSmartynas.\" 32bfdbafeSmartynas.\" Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> 42bfdbafeSmartynas.\" 52bfdbafeSmartynas.\" Permission to use, copy, modify, and distribute this software for any 62bfdbafeSmartynas.\" purpose with or without fee is hereby granted, provided that the above 72bfdbafeSmartynas.\" copyright notice and this permission notice appear in all copies. 82bfdbafeSmartynas.\" 92bfdbafeSmartynas.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 102bfdbafeSmartynas.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 112bfdbafeSmartynas.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 122bfdbafeSmartynas.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 132bfdbafeSmartynas.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 142bfdbafeSmartynas.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 152bfdbafeSmartynas.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 162bfdbafeSmartynas.\" 17*86f9d4cdStedu.Dd $Mdocdate: June 5 2013 $ 182bfdbafeSmartynas.Dt CCOSH 3 192bfdbafeSmartynas.Os 202bfdbafeSmartynas.Sh NAME 212bfdbafeSmartynas.Nm ccosh , 222bfdbafeSmartynas.Nm ccoshf , 232bfdbafeSmartynas.Nm ccoshl 242bfdbafeSmartynas.Nd complex hyperbolic cosine 252bfdbafeSmartynas.Sh SYNOPSIS 26*86f9d4cdStedu.In complex.h 272bfdbafeSmartynas.Ft double complex 282bfdbafeSmartynas.Fn ccosh "double complex z" 292bfdbafeSmartynas.Ft float complex 302bfdbafeSmartynas.Fn ccoshf "float complex z" 312bfdbafeSmartynas.Ft long double complex 322bfdbafeSmartynas.Fn ccoshl "long double complex z" 332bfdbafeSmartynas.Sh DESCRIPTION 342bfdbafeSmartynasThe 352bfdbafeSmartynas.Fn ccosh , 362bfdbafeSmartynas.Fn ccoshf 372bfdbafeSmartynasand 382bfdbafeSmartynas.Fn ccoshl 392bfdbafeSmartynasfunctions compute the complex hyperbolic cosine of 402bfdbafeSmartynas.Fa z . 412bfdbafeSmartynas.Pp 422bfdbafeSmartynasIf 432bfdbafeSmartynas.Fa z 442bfdbafeSmartynas= x + iy, then 452bfdbafeSmartynas.Bd -literal -offset indent 462bfdbafeSmartynasccosh(z) = cosh(x) cos(y) + i sinh(x) sin(y). 472bfdbafeSmartynas.Ed 482bfdbafeSmartynas.Sh RETURN VALUES 492bfdbafeSmartynasThe 502bfdbafeSmartynas.Fn ccosh , 512bfdbafeSmartynas.Fn ccoshf 522bfdbafeSmartynasand 532bfdbafeSmartynas.Fn ccoshl 542bfdbafeSmartynasfunctions return the complex hyperbolic cosine of 552bfdbafeSmartynas.Fa z . 562bfdbafeSmartynas.Sh SEE ALSO 572bfdbafeSmartynas.Xr csinh 3 , 582bfdbafeSmartynas.Xr ctanh 3 592bfdbafeSmartynas.Sh STANDARDS 602bfdbafeSmartynasThe 612bfdbafeSmartynas.Fn ccosh , 622bfdbafeSmartynas.Fn ccoshf 632bfdbafeSmartynasand 642bfdbafeSmartynas.Fn ccoshl 652bfdbafeSmartynasfunctions conform to 662bfdbafeSmartynas.St -isoC-99 . 67