# cproj(3) [opendarwin man page]

```COMPLEX(3)						   BSD Library Functions Manual 						COMPLEX(3)

NAME
complex -- complex floating-point functions

DESCRIPTION
The following functions are complex floating-point values, as arguments and return values.  Some use single-precision complex values and some
use double-precision complex values, as indicated. The functions conform to the ISO/IEC 9899:1999(E) standard. The function prototypes can be
found in the header file complex.h.

To use these functions you must add an additional flag to the link step that produces the executable binary. Specify "-lmx".

These are the functions that use single-precision complex values:

cabsf()

cacosf()

cacoshf()

cargf()

casinf()

casinhf()

catanf()

catanhf()

ccosf()

ccoshf()

cexpf()

cimagf()

clogf()

conjf()

cpowf()

cprojf()

crealf()

csinf()

csinhf()

csqrtf()

ctanf()

ctanhf()

These are the functions that use double-precision complex values:

cabs()

cacos()

cacosh()

carg()

casin()

casinh()

catan()

catanh()

ccos()

ccosh()

cexp()

cimag()

clog()

conj()

cpow()

cproj()

creal()

csin()

csinh()

csqrt()

ctan()

ctanh()

BSD								  August 15, 2003							       BSD```

## Check Out this Related Man Page

```CACOS(3)						   BSD Library Functions Manual 						  CACOS(3)

NAME
cacos, cacosf, cacosh, cacoshf, casin, casinf casinh, casinhf catan, catanf catanh, catanhf -- complex arc trigonometric and hyperbolic func-
tions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <complex.h>

double complex
cacos(double complex z);

float complex
cacosf(float complex z);

double complex
cacosh(double complex z);

float complex
cacoshf(float complex z);

double complex
casin(double complex z);

float complex
casinf(float complex z);

double complex
casinh(double complex z);

float complex
casinhf(float complex z);

double complex
catan(double complex z);

float complex
catanf(float complex z);

double complex
catanh(double complex z);

float complex
catanhf(float complex z);

DESCRIPTION
The cacos(), casin(), and catan() functions compute the principal value of the inverse cosine, sine, and tangent of the complex number z,
respectively.  The cacosh(), casinh(), and catanh() functions compute the principal value of the inverse hyperbolic cosine, sine, and tan-
gent.  The cacosf(), casinf(), catanf() cacoshf(), casinhf(), and catanhf() functions perform the same operations in float precision.

There is no universal convention for defining the principal values of these functions. The following table gives the branch cuts, and the
corresponding ranges for the return values, adopted by the C language.

Function	 Branch Cut(s)				Range
cacos	 (-infinity, -1) U (1, infinity)	[0, pi]
casin	 (-infinity, -1) U (1, infinity)	[-pi/2, pi/2]
catan	 (-infinity*I, -i) U (I, infinity*I)	[-pi/2, pi/2]
cacosh	 (-infinity, 1) 			[-pi*I, pi*I]
casinh	 (-infinity*I, -i) U (I, infinity*I)	[-pi/2*I, pi/2*I]
catanh	 (-infinity, -1) U (1, infinity)	[-pi/2*I, pi/2*I]

ccos(3), ccosh(3), complex(3), cos(3), math(3), sin(3), tan(3)

STANDARDS
These functions conform to ISO/IEC 9899:1999 (``ISO C99'').

BSD								   May 27, 2013 							       BSD```
Man Page

## Use of "CUT" command.

Hi, I have 3 fields in a file. For example I have them like this: 1,Santosh, 24 I want to have these 3 values in 3 different variables. How can I do it. Thanks in advance

## Perl script strange problem

Hi All, I have one strange problem in perl script. Bellow is the contents of the script i am trying to write: #!/usr/local/bin/perl my \$module_list = ''; my @running_module; my \$count=0; my \$flag=0; my \$ccprojecthome=\$ENV{CCPROJECTHOME}; @module_list = `cat...

## Finding file with the same name but different case

Hi experts, I have list of directories and files, which can have the files with the same name but different cases like, \$ ls ovwbemaction_lib.vcproj OvWBEMAction_lib.vcproj In the above example, both has the same name but different case which is supported in Linux. Now I...

## File manipulation with AWK and SED

Hello How do i check that correct input files are used while using AWk and SED for file manipulation? e.g awk '/bin/ {print \$0 }' shell.txt sed 's/hp/samsung/' printers.txt how do i ensure that the correct input files I am working with are used?

## How to failover the cluster ?

How to failover the cluster ? GNU/Linux By which command, My Linux version 2008 x86_64 x86_64 x86_64 GNU/Linux What are the prerequisites we need to take while failover ? if any Regards

## moving files between directories !!

hi i have a list of directory in a text file with all directories name in a column.(this is not exactly a file but i need to do a grep and awk on a file to find that list) i have the source folders like abchome/abc/xxyz/nl_xxabc/mm// v01 ...

## Entire Input command not visible in Unix prompt

Hi, While typing the Unix command, entire command is not visible.When the input command is long, it is not visible. I want the entire command to be displayed when i type it. Please help to resolve this issue. Thanks Sampath

## Help cannot concatenate Ksh variables ?

Cannot combine these two strings into one line, either as a 3rd variable or echo or printing ? Frustrating. for i in `cat /scripts/pathList.dat` do OldRepo= grep Oldhostname \${i}/.svn/entries | tail -1 NewRepo= grep Oldhostname \${i}/.svn/entries | tail -1 | sed '/Oldhostname/...

## Tier 2 list

SOLVED May someone give me a hint, or got experience about using as default dns one of the so called TIER 2 list? OpenNIC Wiki: Public Access (Tier-2) DNS Servers Or otherwise uses the google ns 8.8.8.8 or the 8.8.4.4? thanks in advance

## Perl:: mass replacement of converting C code formats to tgmath.h

hello, i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc usually for simple bulk replacements i would do something simple like this perl -pi -e 's/cosl/cos/g' *.c the reference...

## Installing winpcap and configure it with cygwin

When I put the ./configure command in my Cygwin terminal to compile a source code program , I got this error : ERROR! Libpcap library/headers not found. TCPDUMP/LIBPCAP public repository is a good place to fetch one if libpcap library is installed, use the --with-libpcap-* options to...