# catan(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

## batching files together

I'm looking after part of an application which batches up files concatanates them together and then moves the concatanated files to another directory. The problem I have is that the box runs Windows 2003 and UNIX shell emulation is provided by MKS Toolkit, when 10,000 or more files arive in the...

## How to append a file extension to end of a file name??

Hi, I have a .txt file and it contains some file names.I want to append .gz extension to all the file names that are present within the .txt file. Input. aa.bb.Mar-20-2007 aa.cc.Mar-20-2007 Output aa.bb.Mar-20-2007.gz aa.cc.Mar-20-2007.gz Please help me with this command. ...

## How to convert a 2 digit to 4 digit

Hi All, How can i convert a number 24 to 0024 In the same way how can i convert 123 to 0123? All this has to be done inside a script Thanks in advance JS

## Display files created on particular date

hi , i am trying to display the files created on a particular date. I have tried using find .-mtime +n but these files are created on november 6th 2007 , so i'm not sure of what the 'n' value should be. And the number of files created on that particular day are more than 5000 so i have to make a...

## Add a column to a file with nawk

Hi all, I'm new at forum, I cant find an answer to my problem so , I need a file which has pipe as a file separator and I need to add a column to a file in the third column I write this code but it s not enough , cat allproblems | nawk'\ BEGIN { FS:"|" } {print \$3 \$4 \$5, ????} ' ...

## Mean of the specific columns

I have a input file that has some common values in 1st,2nd and 3rd columns. 4th and 5th are different. Now I would like to print the mean of the fourth column of similar values in 1st.2nd and 3rd columns along with all the values in 5th column. input NM_0 1.22 CR5 0.4 n_21663...

## Concatenate Loop Results

Hi, I have the following situation: Param1Values = AAAA,BBBB Param1=\$(echo \$Param1Values| tr "," "\n") for x in \$Param1 do db2 select X from Y where Z IN ('\$x') done Obviously the above will perform the select 'x' amount of times. Is there a way in which i can...

## Ignoring newlines in my search

I have a file that has lines that are deliminated with '^A', but some of the lines go for a few lines and I need those lines to be appended into one line. All of the lines start with 'low debug' and end with ' " 0 '. How can I read each line from start to finish without some of the data...

## Page Break in a file for printing

Hi, We have 1lac records in source file and unix script will genarate around 1000 files. From target location the files are taking for printing on physical papers. the page size limitation : 256 Lines Can you please tell me how to insert the page break in a flat file for printer.

## Script to loop through the files

Hi Experts, Need some help regarding a requirement -- I may get any number of zipped files in a month (max 36). each of those wil contain a detail file and a header file. Also when the files arrive, there will already be previous days file lying around. What I am trying to do is count the...

## Printing double quotes in echo command

Please help me to use echo or printf type of command to print some value from variable within double quotes - I want to print the double quote ( " ") also. I tried #!/bin/bash VALUE=some_value echo '{"value" : "\$VALUE"}' I was expecting the above script would produce .. {"value" :...

## Change - Password expiry Reset (Boot)

I have been searching the web for the answer to this question but without joy. Hopefully, someone here can point me in the right direction... We have a number of application OS accounts which require to be set with password non-expiry via the chage command, such as for example... chage -M 0...