Query: cimagl
OS: osx
Section: 3
Links: osx man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CREAL(3) BSD Library Functions Manual CREAL(3)NAMEcreal -- complex real-part function cimag -- complex imaginary-part functionSYNOPSIS#include <complex.h> double creal(double complex z); long double creall(long double complex z); float crealf(float complex z); double cimag(double complex z); long double cimagl(long double complex z); float cimagf(float complex z);DESCRIPTIONcreal(z) extracts the real part of the complex floating-point number z. cimag(z) extracts the imaginary part of the complex floating-point number z. If z = x+iy, then creal(z) = x and cimag(z) = y.EXAMPLESThe function foo defined in the example below returns its complex argument with the imaginary part scaled by a factor of 2. #include <complex.h> double complex foo(double complex z) { return creal(z) + 2.0*cimag(z)*I; }SEE ALSOcomplex(3)STANDARDSThe creal() and cimag() functions conform to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution
Related Man Pages |
---|
cimag(3) - freebsd |
cproj(3) - freebsd |
cimagl(3) - freebsd |
conjf(3) - freebsd |
cprojf(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Hearing Aid for OSX 10.12.x and greater. |
Undeletable file |
My first PERL incarnation... Audio Oscillograph |
Syntax error in subtraction in Bash |