xref: /freebsd/lib/msun/man/ccos.3 (revision c5cbef2f85e6020ef8357b7d3af3ca228a262309)
13daee1d6SDavid Schultz.\" Copyright (c) 2011 David Schultz <das@FreeBSD.org>
23daee1d6SDavid Schultz.\" All rights reserved.
33daee1d6SDavid Schultz.\"
43daee1d6SDavid Schultz.\" Redistribution and use in source and binary forms, with or without
53daee1d6SDavid Schultz.\" modification, are permitted provided that the following conditions
63daee1d6SDavid Schultz.\" are met:
73daee1d6SDavid Schultz.\" 1. Redistributions of source code must retain the above copyright
83daee1d6SDavid Schultz.\"    notice, this list of conditions and the following disclaimer.
93daee1d6SDavid Schultz.\" 2. Redistributions in binary form must reproduce the above copyright
103daee1d6SDavid Schultz.\"    notice, this list of conditions and the following disclaimer in the
113daee1d6SDavid Schultz.\"    documentation and/or other materials provided with the distribution.
123daee1d6SDavid Schultz.\"
133daee1d6SDavid Schultz.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
143daee1d6SDavid Schultz.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
153daee1d6SDavid Schultz.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
163daee1d6SDavid Schultz.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
173daee1d6SDavid Schultz.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
183daee1d6SDavid Schultz.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
193daee1d6SDavid Schultz.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
203daee1d6SDavid Schultz.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
213daee1d6SDavid Schultz.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
223daee1d6SDavid Schultz.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
233daee1d6SDavid Schultz.\" SUCH DAMAGE.
243daee1d6SDavid Schultz.\"
253daee1d6SDavid Schultz.\" $FreeBSD$
263daee1d6SDavid Schultz.\"
273daee1d6SDavid Schultz.Dd October 17, 2011
283daee1d6SDavid Schultz.Dt CCOS 3
293daee1d6SDavid Schultz.Os
303daee1d6SDavid Schultz.Sh NAME
313daee1d6SDavid Schultz.Nm ccos ,
323daee1d6SDavid Schultz.Nm ccosf ,
333daee1d6SDavid Schultz.Nm csin ,
34*c5cbef2fSGordon Bergling.Nm csinf ,
353daee1d6SDavid Schultz.Nm ctan ,
363daee1d6SDavid Schultz.Nm ctanf
373daee1d6SDavid Schultz.Nd complex trigonometric functions
383daee1d6SDavid Schultz.Sh LIBRARY
393daee1d6SDavid Schultz.Lb libm
403daee1d6SDavid Schultz.Sh SYNOPSIS
413daee1d6SDavid Schultz.In complex.h
423daee1d6SDavid Schultz.Ft double complex
433daee1d6SDavid Schultz.Fn ccos "double complex z"
443daee1d6SDavid Schultz.Ft float complex
453daee1d6SDavid Schultz.Fn ccosf "float complex z"
463daee1d6SDavid Schultz.Ft double complex
473daee1d6SDavid Schultz.Fn csin "double complex z"
483daee1d6SDavid Schultz.Ft float complex
493daee1d6SDavid Schultz.Fn csinf "float complex z"
503daee1d6SDavid Schultz.Ft double complex
513daee1d6SDavid Schultz.Fn ctan "double complex z"
523daee1d6SDavid Schultz.Ft float complex
533daee1d6SDavid Schultz.Fn ctanf "float complex z"
543daee1d6SDavid Schultz.Sh DESCRIPTION
553daee1d6SDavid SchultzThe
563daee1d6SDavid Schultz.Fn ccos ,
573daee1d6SDavid Schultz.Fn csin ,
583daee1d6SDavid Schultzand
593daee1d6SDavid Schultz.Fn ctan
603daee1d6SDavid Schultzfunctions compute the cosine, sine, and tangent of the complex number
613daee1d6SDavid Schultz.Fa z ,
623daee1d6SDavid Schultzrespectively.
633daee1d6SDavid SchultzThe
643daee1d6SDavid Schultz.Fn ccosf ,
653daee1d6SDavid Schultz.Fn csinf ,
663daee1d6SDavid Schultzand
673daee1d6SDavid Schultz.Fn ctanf
683daee1d6SDavid Schultzfunctions perform the same operations in
693daee1d6SDavid Schultz.Fa float
703daee1d6SDavid Schultzprecision.
713daee1d6SDavid Schultz.Sh SEE ALSO
72e4afa19cSDavid Schultz.Xr cacos 3 ,
733daee1d6SDavid Schultz.Xr ccosh 3 ,
743daee1d6SDavid Schultz.Xr complex 3 ,
753daee1d6SDavid Schultz.Xr cos 3 ,
763daee1d6SDavid Schultz.Xr math 3 ,
773daee1d6SDavid Schultz.Xr sin 3 ,
783daee1d6SDavid Schultz.Xr tan 3
793daee1d6SDavid Schultz.Sh STANDARDS
803daee1d6SDavid SchultzThese functions conform to
813daee1d6SDavid Schultz.St -isoC-99 .
82