xref: /openbsd-src/lib/libm/man/csin.3 (revision 86f9d4cdda0e0267dccd8755ac0035525579c4a7)
1*86f9d4cdStedu.\"	$OpenBSD: csin.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 CSIN 3
192bfdbafeSmartynas.Os
202bfdbafeSmartynas.Sh NAME
212bfdbafeSmartynas.Nm csin ,
222bfdbafeSmartynas.Nm csinf ,
232bfdbafeSmartynas.Nm csinl
242bfdbafeSmartynas.Nd complex circular sine
252bfdbafeSmartynas.Sh SYNOPSIS
26*86f9d4cdStedu.In complex.h
272bfdbafeSmartynas.Ft double complex
282bfdbafeSmartynas.Fn csin "double complex z"
292bfdbafeSmartynas.Ft float complex
302bfdbafeSmartynas.Fn csinf "float complex z"
312bfdbafeSmartynas.Ft long double complex
322bfdbafeSmartynas.Fn csinl "long double complex z"
332bfdbafeSmartynas.Sh DESCRIPTION
342bfdbafeSmartynasThe
352bfdbafeSmartynas.Fn csin ,
362bfdbafeSmartynas.Fn csinf
372bfdbafeSmartynasand
382bfdbafeSmartynas.Fn csinl
392bfdbafeSmartynasfunctions compute the complex circular sine of
402bfdbafeSmartynas.Fa z .
412bfdbafeSmartynas.Pp
422bfdbafeSmartynasIf
432bfdbafeSmartynas.Fa z
442bfdbafeSmartynas= x + iy, then
452bfdbafeSmartynas.Bd -literal -offset indent
462bfdbafeSmartynascsin(z) = sin(x) cosh(y) + i cos(x) sinh(y).
472bfdbafeSmartynas.Ed
482bfdbafeSmartynas.Sh RETURN VALUES
492bfdbafeSmartynasThe
502bfdbafeSmartynas.Fn csin ,
512bfdbafeSmartynas.Fn csinf
522bfdbafeSmartynasand
532bfdbafeSmartynas.Fn csinl
542bfdbafeSmartynasfunctions return the complex circular sine of
552bfdbafeSmartynas.Fa z .
562bfdbafeSmartynas.Sh SEE ALSO
572bfdbafeSmartynas.Xr ccos 3 ,
582bfdbafeSmartynas.Xr ctan 3
592bfdbafeSmartynas.Sh STANDARDS
602bfdbafeSmartynasThe
612bfdbafeSmartynas.Fn csin ,
622bfdbafeSmartynas.Fn csinf
632bfdbafeSmartynasand
642bfdbafeSmartynas.Fn csinl
652bfdbafeSmartynasfunctions conform to
662bfdbafeSmartynas.St -isoC-99 .
67