From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/c/numeric%2Fcomplex%2Fcreal.html | 41 -------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 devdocs/c/numeric%2Fcomplex%2Fcreal.html (limited to 'devdocs/c/numeric%2Fcomplex%2Fcreal.html') diff --git a/devdocs/c/numeric%2Fcomplex%2Fcreal.html b/devdocs/c/numeric%2Fcomplex%2Fcreal.html deleted file mode 100644 index e0d77c3f..00000000 --- a/devdocs/c/numeric%2Fcomplex%2Fcreal.html +++ /dev/null @@ -1,41 +0,0 @@ -

crealf, creal, creall

Defined in header <complex.h>
float       crealf( float complex z );
-
(1) (since C99)
double      creal( double complex z );
-
(2) (since C99)
long double creall( long double complex z );
-
(3) (since C99)
Defined in header <tgmath.h>
#define creal( z )
-
(4) (since C99)
-1-3) Returns the real part of z.
-4) Type-generic macro: if z has type long double complex, long double imaginary, or long double, creall is called. If z has type float complex, float imaginary, or float, crealf is called. If z has type double complex, double imaginary, double, or any integer type, creal is called.

Parameters

- -
z - complex argument

Return value

The real part of z.

-

This function is fully specified for all possible inputs and is not subject to any errors described in math_errhandling

-

Notes

For any complex variable z, z == creal(z) + I*cimag(z).

-

Example

#include <stdio.h>
-#include <complex.h>
- 
-int main(void)
-{    
-    double complex z = 1.0 + 2.0*I;
-    printf("%f%+fi\n", creal(z), cimag(z));
-}

Output:

-
1.000000+2.000000i

References

See also

- -
-
(C99)(C99)(C99)
computes the imaginary part a complex number
(function)
C++ documentation for real
-

- © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
- https://en.cppreference.com/w/c/numeric/complex/creal -

-
-- cgit v1.2.3