Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

creal(3) [xfree86 man page]

CREAL(3)						     Linux Programmer's Manual							  CREAL(3)

NAME
creal, crealf, creall - get real part of a complex number SYNOPSIS
#include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); Link with -lm. DESCRIPTION
These functions return the real part of the complex number z. One has: z = creal(z) + I * cimag(z) VERSIONS
These functions first appeared in glibc in version 2.1. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +----------------------------+---------------+---------+ |Interface | Attribute | Value | +----------------------------+---------------+---------+ |creal(), crealf(), creall() | Thread safety | MT-Safe | +----------------------------+---------------+---------+ CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. NOTES
The gcc supports also __real__. That is a GNU extension. SEE ALSO
cabs(3), cimag(3), complex(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2015-04-19 CREAL(3)

Check Out this Related Man Page

CREAL(3)						     Linux Programmer's Manual							  CREAL(3)

NAME
creal, crealf, creall - get real part of a complex number SYNOPSIS
#include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); Link with -lm. DESCRIPTION
These functions return the real part of the complex number z. One has: z = creal(z) + I * cimag(z) VERSIONS
These functions first appeared in glibc in version 2.1. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +----------------------------+---------------+---------+ |Interface | Attribute | Value | +----------------------------+---------------+---------+ |creal(), crealf(), creall() | Thread safety | MT-Safe | +----------------------------+---------------+---------+ CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. NOTES
The gcc supports also __real__. That is a GNU extension. SEE ALSO
cabs(3), cimag(3), complex(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2015-04-19 CREAL(3)
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