Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

creal(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] SEE ALSO
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

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with an 'easy' script

Hello guys, I need some help to solve a little problem that I have here: I have a big file with almost 100.000 lines of data, here is an example of line: 100099C01101C00000000059399489283CREMOVISTAR_TX 010001C00000000000099069799MOVISTAR_Tx ... (7 Replies)
Discussion started by: lestat_ecuador
7 Replies

2. UNIX for Dummies Questions & Answers

Help with an 'easy' script

Hello guys, Forgive me if I duplicate the post but i think i make a mistake choosing the correct forum. I need some help to solve a little problem, I have a big file with almost 100.000 lines of data, here is an example of line: 100099C01101C00000000059399489283CREMOVISTAR_TX ... (3 Replies)
Discussion started by: lestat_ecuador
3 Replies

3. Shell Programming and Scripting

replace space for enter

i have to print in a html file directories like this /home/user /home/user/dir but the problem is that when i us this comand listado=`find $direcreal -type f -print` i get this /home/user /home/user/dir1 i try with sed to replace the space with an enter mostrarlistado=`echo "$listado"... (9 Replies)
Discussion started by: pc03
9 Replies

4. Shell Programming and Scripting

Help with simple IF statements

Hi im new to unix shell scripting but not new to codeing itself. Anyways im making a auto .conf for an eggdropbot and need an If statment. read -p 'Bot Nickname:' ecnick echo Your Bots Nick Is $ecnick What i want is for if nothing is entered it will do "read -p 'Bot Nickname:' ecnick"... (7 Replies)
Discussion started by: Gemster
7 Replies

5. Shell Programming and Scripting

i think i need functions ?

Hi, im making a little script but need some help Code i have so far is read -p 'Bot Nickname:' ecnick read -p 'Bot Username:' ecusername read -p 'Bot Realname:' ecrealname read -p 'Your Email:' ecemail echo '' echo Your bots nickname is set to $ecnick echo Your bots username is set to... (2 Replies)
Discussion started by: Gemster
2 Replies

6. Shell Programming and Scripting

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... (0 Replies)
Discussion started by: f77hack
0 Replies