From WikiChip
Editing c/complex.h

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{c title|<complex.h> Header}}
+
{{DISPLAYTITLE:<complex.h> Header - C}}
 
{{C Standard Library}}
 
{{C Standard Library}}
 
The '''<complex.h>''' header is part of the [[standard library]] of the [[C programming language]] which provides a set of macros and functions that support complex arithmetic.
 
The '''<complex.h>''' header is part of the [[standard library]] of the [[C programming language]] which provides a set of macros and functions that support complex arithmetic.
  
==Optional Header==
+
This header is [[Optional headers - C|optional]] and therefore need not be provided by an implementation. A program can check for the existence of this header by checking if the macro __STDC_NO_COMPLEX__ is defined. When defined, an implementation is not required to provide this header nor any of its facilities.
{{C|C11}} has made this header {{C|Optional headers|optional}} and therefore need not be provided by an implementation. A program can check for the existence of this header by checking if the macro '''__STDC_NO_COMPLEX__''' is defined. When defined, an implementation is not required to provide this header nor any of its facilities.
 
  
 
<source lang="c">#ifndef __STDC_NO_COMPLEX__
 
<source lang="c">#ifndef __STDC_NO_COMPLEX__
Line 11: Line 10:
 
#    error Implementation has no complex type support!
 
#    error Implementation has no complex type support!
 
#endif</source>
 
#endif</source>
 
If the implementation defines '''__STDC_IEC_559_COMPLEX__''' to the integer constant 1, the complex arithmetic implementation conforms to Annex G of the C standard ([[IEEE 754|IEC 60559 standard]]).
 
  
 
== Naming convention ==
 
== Naming convention ==
Line 30: Line 27:
 
! Macro Name !! Description !! Since
 
! Macro Name !! Description !! Since
 
|-
 
|-
| {{C|complex.h/complex|complex}} || Expands to the _Complex keyword || [[C99]]
+
| [[Complex.h/complex - C|complex]] || Expands to the _Complex keyword || [[C99]]
 
|-
 
|-
| {{C|complex.h/_Complex_I|_Complex_I}} || Expands to the value of the imaginary unit with the type const float _Complex. || [[C99]]
+
| [[Complex.h/_Complex_I - C|_Complex_I]] || Expands to the value of the imaginary unit with the type const float _Complex. || [[C99]]
 
|-
 
|-
| {{C|complex.h/imaginary|imaginary}} || Expands to _Imaginary keyword || [[C99]]
+
| [[Complex.h/imaginary - C|imaginary]] || Expands to _Imaginary keyword || [[C99]]
 
|-
 
|-
| {{C|complex.h/_Imaginary_I|_Imaginary_I}} || Expands to the value of the imaginary unit with the type const float _Imaginary. || [[C99]]
+
| [[Complex.h/_Imaginary_I - C|_Imaginary_I]] || Expands to the value of the imaginary unit with the type const float _Imaginary. || [[C99]]
 
|-
 
|-
| {{C|complex.h/I|I}} || Expands to _Imaginary_I if defined, otherwise expands to _Complex_I || [[C99]]
+
| [[Complex.h/I - C|I]] || Expands to _Imaginary_I if defined, otherwise expands to _Complex_I || [[C99]]
 
|-
 
|-
| {{C|complex.h/CMPLX|CMPLX}} || Expand to an expression of type double complex || [[C11]]
+
| [[Complex.h/CMPLX - C|CMPLX]] || Expand to an expression of type double complex || [[C11]]
 
|-
 
|-
| {{C|complex.h/CMPLXF|CMPLXF}} || Expand to an expression of type float complex || [[C11]]
+
| [[Complex.h/CMPLXF - C|CMPLXF]] || Expand to an expression of type float complex || [[C11]]
 
|}
 
|}
  
 
== Pragmas ==
 
== Pragmas ==
The {{C|algorithms|pragmas}}:
+
The [[algorithms]] used by the functions in this header can be more finely tuned by the following [[Pragmas - C|pragmas]]:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 52: Line 49:
 
! Pragma Name !! Description !! Since
 
! Pragma Name !! Description !! Since
 
|-
 
|-
| {{C|complex.h/STDC|STDC CX_LIMITED_RANGE}} || Indicates that the usual mathematical formulas are acceptable. || [[C99]]
+
| [[Complex.h/STDC CX_LIMITED_RANGE - C|STDC CX_LIMITED_RANGE]] || Indicates that the usual mathematical formulas are acceptable. || [[C99]]
 
|}
 
|}
  
Line 71: Line 68:
 
! Function Prototype !! Description !! Since
 
! Function Prototype !! Description !! Since
 
|-
 
|-
| {{C|complex.h/cacos|double complex cacos(double complex z);}} ||   Computes the complex arc cosine of z. || [[C99]]
+
| [[Complex.h/cacos - C|double complex cacos(double complex z);]] || Computes the complex arc cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cacosf|float complex cacosf(float complex z);}} ||   Computes the complex arc cosine of z. || [[C99]]
+
| [[Complex.h/cacosf - C|float complex cacosf(float complex z);]] || Computes the complex arc cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cacosl|long double complex cacosl(long double complex z);}} ||   Computes the complex arc cosine of z. || [[C99]]
+
| [[Complex.h/cacosl - C|long double complex cacosl(long double complex z);]] || Computes the complex arc cosine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/casin|double complex casin(double complex z);}} || Computes the complex arc sine of z. || [[C99]]
+
| [[Complex.h/casin - C|double complex casin(double complex z);]] || Computes the complex arc sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/casinf|float complex casinf(float complex z);}} || Computes the complex arc sine of z. || [[C99]]
+
| [[Complex.h/casinf - C|float complex casinf(float complex z);]] || Computes the complex arc sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/casinl|long double complex casinl(long double complex z);}} || Computes the complex arc sine of z. || [[C99]]
+
| [[Complex.h/casinl - C|long double complex casinl(long double complex z);]] || Computes the complex arc sine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/catan|double complex catan(double complex z);}} ||   Computes the complex arc tangent of z. || [[C99]]
+
| [[Complex.h/catan - C|double complex catan(double complex z);]] || Computes the complex arc tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/catanf|float complex catanf(float complex z);}} ||   Computes the complex arc tangent of z. || [[C99]]
+
| [[Complex.h/catanf - C|float complex catanf(float complex z);]] || Computes the complex arc tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/catanl|long double complex catanl(long double complex z);}} ||   Computes the complex arc tangent of z. || [[C99]]
+
| [[Complex.h/catanl - C|long double complex catanl(long double complex z);]] || Computes the complex arc tangent of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/ccos|double complex ccos(double complex z);}} || Computes the complex cosine of z. || [[C99]]
+
| [[Complex.h/ccos - C|double complex ccos(double complex z);]] || Computes the complex cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ccosf|float complex ccosf(float complex z);}} || Computes the complex cosine of z. || [[C99]]
+
| [[Complex.h/ccosf - C|float complex ccosf(float complex z);]] || Computes the complex cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ccosl|long double complex ccosl(long double complex z);}} || Computes the complex cosine of z. || [[C99]]
+
| [[Complex.h/ccosl - C|long double complex ccosl(long double complex z);]] || Computes the complex cosine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/csin|double complex csin(double complex z);}} || Computes the complex sine of z. || [[C99]]
+
| [[Complex.h/csin - C|double complex csin(double complex z);]] || Computes the complex sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csinf|float complex csinf(float complex z);}} || Computes the complex sine of z. || [[C99]]
+
| [[Complex.h/csinf - C|float complex csinf(float complex z);]] || Computes the complex sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csinl|long double complex csinl(long double complex z);}} || Computes the complex sine of z. || [[C99]]
+
| [[Complex.h/csinl - C|long double complex csinl(long double complex z);]] || Computes the complex sine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/ctan|double complex ctan(double complex z);}} || Computes the complex tangent of z. || [[C99]]
+
| [[Complex.h/ctan - C|double complex ctan(double complex z);]] || Computes the complex tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ctanf|float complex ctanf(float complex z);}} || Computes the complex tangent of z. || [[C99]]
+
| [[Complex.h/ctanf - C|float complex ctanf(float complex z);]] || Computes the complex tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ctanl|long double complex ctanl(long double complex z);}} || Computes the complex tangent of z. || [[C99]]
+
| [[Complex.h/ctanl - C|long double complex ctanl(long double complex z);]] || Computes the complex tangent of z. || [[C99]]
 
|}
 
|}
  
Line 125: Line 122:
 
! Function Prototype !! Description !! Since
 
! Function Prototype !! Description !! Since
 
|-
 
|-
| {{C|complex.h/cacosh|double complex cacosh(double complex z);}} || Computes the complex arc hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/cacosh - C|double complex cacosh(double complex z);]] || Computes the complex arc hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cacoshf|float complex cacoshf(float complex z);}} || Computes the complex arc hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/cacoshf - C|float complex cacoshf(float complex z);]] || Computes the complex arc hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cacoshl|long double complex cacoshl(long double complex z);}} || Computes the complex arc hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/cacoshl - C|long double complex cacoshl(long double complex z);]] || Computes the complex arc hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/casinh|double complex casinh(double complex z);}} || Computes the complex arc hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/casinh - C|double complex casinh(double complex z);]] || Computes the complex arc hyperbolic sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/casinhf|float complex casinhf(float complex z)}} || Computes the complex arc hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/casinhf - C|float complex casinhf(float complex z)]] || Computes the complex arc hyperbolic sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/casinhl|long double complex casinhl(long double complex z);}} || Computes the complex arc hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/casinhl - C|long double complex casinhl(long double complex z);]] || Computes the complex arc hyperbolic sine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/catanh|double complex catanh(double complex z);}} || Computes the complex arc hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/catanh - C|double complex catanh(double complex z);]] || Computes the complex arc hyperbolic tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/catanhf|float complex catanhf(float complex z);}} || Computes the complex arc hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/catanhf - C|float complex catanhf(float complex z);]] || Computes the complex arc hyperbolic tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/catanhl|long double complex catanhl(long double complex z);}} || Computes the complex arc hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/catanhl - C|long double complex catanhl(long double complex z);]] || Computes the complex arc hyperbolic tangent of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/ccosh|double complex ccosh(double complex z);}} || Computes the complex hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/ccosh - C|double complex ccosh(double complex z);]] || Computes the complex hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ccoshf|float complex ccoshf(float complex z);}} || Computes the complex hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/ccoshf - C|float complex ccoshf(float complex z);]] || Computes the complex hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ccoshl|long double complex ccoshl(long double complex z);}} || Computes the complex hyperbolic cosine of z. || [[C99]]
+
| [[Complex.h/ccoshl - C|long double complex ccoshl(long double complex z);]] || Computes the complex hyperbolic cosine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/csinh|double complex csinh(double complex z);}} || Computes the complex hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/csinh - C|double complex csinh(double complex z);]] || Computes the complex hyperbolic sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csinhf|float complex csinhf(float complex z);}} || Computes the complex hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/csinhf - C|float complex csinhf(float complex z);]] || Computes the complex hyperbolic sine of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csinhl|long double complex csinhl(long double complex z);}} || Computes the complex hyperbolic sine of z. || [[C99]]
+
| [[Complex.h/csinhl - C|long double complex csinhl(long double complex z);]] || Computes the complex hyperbolic sine of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/ctanh|double complex ctanh(double complex z);}} || Computes the complex hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/ctanh - C|double complex ctanh(double complex z);]] || Computes the complex hyperbolic tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ctanhf|float complex ctanhf(float complex z);}} || Computes the complex hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/ctanhf - C|float complex ctanhf(float complex z);]] || Computes the complex hyperbolic tangent of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/ctanhl|long double complex ctanhl(long double complex z);}} || Computes the complex hyperbolic tangent of z. || [[C99]]
+
| [[Complex.h/ctanhl - C|long double complex ctanhl(long double complex z);]] || Computes the complex hyperbolic tangent of z. || [[C99]]
 
|}
 
|}
  
Line 179: Line 176:
 
! Function Prototype !! Description !! Since
 
! Function Prototype !! Description !! Since
 
|-
 
|-
| {{C|complex.h/cexp|double complex cexp(double complex z);}} || Computes the complex base-e exponential of z. || [[C99]]
+
| [[Complex.h/cexp - C|double complex cexp(double complex z);]] || Computes the complex base-e exponential of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cexpf|float complex cexpf(float complex z);}} || Computes the complex base-e exponential of z. || [[C99]]
+
| [[Complex.h/cexpf - C|float complex cexpf(float complex z);]] || Computes the complex base-e exponential of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cexpl|long double complex cexpl(long double complex z);}} || Computes the complex base-e exponential of z. || [[C99]]
+
| [[Complex.h/cexpl - C|long double complex cexpl(long double complex z);]] || Computes the complex base-e exponential of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/clog|double complex clog(double complex z);}} || Computes the complex natural (base-e) logarithm of z. || [[C99]]
+
| [[Complex.h/clog - C|double complex clog(double complex z);]] || Computes the complex natural (base-e) logarithm of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/clogf|float complex clogf(float complex z);}} || Computes the complex natural (base-e) logarithm of z. || [[C99]]
+
| [[Complex.h/clogf - C|float complex clogf(float complex z);]] || Computes the complex natural (base-e) logarithm of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/clogl|long double complex clogl(long double complex z);}} || Computes the complex natural (base-e) logarithm of z. || [[C99]]
+
| [[Complex.h/clogl - C|long double complex clogl(long double complex z);]] || Computes the complex natural (base-e) logarithm of z. || [[C99]]
 
|}
 
|}
  
Line 201: Line 198:
 
! Function Prototype !! Description !! Since
 
! Function Prototype !! Description !! Since
 
|-
 
|-
| {{C|complex.h/cabs|double cabs(double complex z);}} || Computes the complex absolute value of z. || [[C99]]
+
| [[Complex.h/cabs - C|double cabs(double complex z);]] || Computes the complex absolute value of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cabsf|float cabsf(float complex z);}} || Computes the complex absolute value of z. || [[C99]]
+
| [[Complex.h/cabsf - C|float cabsf(float complex z);]] || Computes the complex absolute value of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cabsl|long double cabsl(long double complex z);}} || Computes the complex absolute value of z. || [[C99]]
+
| [[Complex.h/cabsl - C|long double cabsl(long double complex z);]] || Computes the complex absolute value of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/cpow|double complex cpow(double complex x, double complex y);}} || Computes the complex power function x<sup>y</sup>. || [[C99]]
+
| [[Complex.h/cpow - C|double complex cpow(double complex x, double complex y);]] || Computes the complex power function x<sup>y</sup>. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cpowf|float complex cpowf(float complex x, float complex y);}} || Computes the complex power function x<sup>y</sup>. || [[C99]]
+
| [[Complex.h/cpowf - C|float complex cpowf(float complex x, float complex y);]] || Computes the complex power function x<sup>y</sup>. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cpowl|long double complex cpowl(long double complex x, long double complex y);}} || Computes the complex power function x<sup>y</sup>. || [[C99]]
+
| [[Complex.h/cpowl - C|long double complex cpowl(long double complex x, long double complex y);]] || Computes the complex power function x<sup>y</sup>. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/csqrt|double complex csqrt(double complex z);}} || Computes the complex square root of z. || [[C99]]
+
| [[Complex.h/csqrt - C|double complex csqrt(double complex z);]] || Computes the complex square root of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csqrtf|float complex csqrtf(float complex z);}} || Computes the complex square root of z. || [[C99]]
+
| [[Complex.h/csqrtf - C|float complex csqrtf(float complex z);]] || Computes the complex square root of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/csqrtl|long double complex csqrtl(long double complex z);}} || Computes the complex square root of z. || [[C99]]
+
| [[Complex.h/csqrtl - C|long double complex csqrtl(long double complex z);]] || Computes the complex square root of z. || [[C99]]
 
|}
 
|}
  
Line 231: Line 228:
 
! Function Prototype !! Description !! Since
 
! Function Prototype !! Description !! Since
 
|-
 
|-
| {{C|complex.h/carg|double carg(double complex z);}} || Computes the phase angle of z. || [[C99]]
+
| [[Complex.h/carg - C|double carg(double complex z);]] || Computes the phase angle of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cargf|float cargf(float complex z);}} || Computes the phase angle of z. || [[C99]]
+
| [[Complex.h/cargf - C|float cargf(float complex z);]] || Computes the phase angle of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cargl|long double cargl(long double complex z);}} || Computes the phase angle of z. || [[C99]]
+
| [[Complex.h/cargl - C|long double cargl(long double complex z);]] || Computes the phase angle of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/cimag|double cimag(double complex z);}} || Computes the imaginary part of z. || [[C99]]
+
| [[Complex.h/cimag - C|double cimag(double complex z);]] || Computes the imaginary part of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cimagf|float cimagf(float complex z);}} || Computes the imaginary part of z. || [[C99]]
+
| [[Complex.h/cimagf - C|float cimagf(float complex z);]] || Computes the imaginary part of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cimagl|long double cimagl(long double complex z);}} || Computes the imaginary part of z. || [[C99]]
+
| [[Complex.h/cimagl - C|long double cimagl(long double complex z);]] || Computes the imaginary part of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/conj|double complex conj(double complex z);}} || Computes the complex conjugate of z. || [[C99]]
+
| [[Complex.h/conj - C|double complex conj(double complex z);]] || Computes the complex conjugate of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/conjf|float complex conjf(float complex z);}} || Computes the complex conjugate of z. || [[C99]]
+
| [[Complex.h/conjf - C|float complex conjf(float complex z);]] || Computes the complex conjugate of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/conjl|long double complex conjl(long double complex z);}} || Computes the complex conjugate of z. || [[C99]]
+
| [[Complex.h/conjl - C|long double complex conjl(long double complex z);]] || Computes the complex conjugate of z. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/cproj|double complex cproj(double complex z);}} || Computes a projection of z onto the Riemann sphere. || [[C99]]
+
| [[Complex.h/cproj - C|double complex cproj(double complex z);]] || Computes a projection of z onto the Riemann sphere. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cprojf|float complex cprojf(float complex z);}} || Computes a projection of z onto the Riemann sphere. || [[C99]]
+
| [[Complex.h/cprojf - C|float complex cprojf(float complex z);]] || Computes a projection of z onto the Riemann sphere. || [[C99]]
 
|-
 
|-
| {{C|complex.h/cprojl|long double complex cprojl(long double complex z);}} || Computes a projection of z onto the Riemann sphere. || [[C99]]
+
| [[Complex.h/cprojl - C|long double complex cprojl(long double complex z);]] || Computes a projection of z onto the Riemann sphere. || [[C99]]
 
|-
 
|-
 
| &nbsp; || &nbsp; ||
 
| &nbsp; || &nbsp; ||
 
|-
 
|-
| {{C|complex.h/creal|double creal(double complex z);}} || The creal functions compute the real part of z. || [[C99]]
+
| [[Complex.h/creal - C|double creal(double complex z);]] || The creal functions compute the real part of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/crealf|float crealf(float complex z);}} || The creal functions compute the real part of z. || [[C99]]
+
| [[Complex.h/crealf - C|float crealf(float complex z);]] || The creal functions compute the real part of z. || [[C99]]
 
|-
 
|-
| {{C|complex.h/creall|long double creall(long double complex z);}} || The creal functions compute the real part of z. || [[C99]]
+
| [[Complex.h/creall - C|long double creall(long double complex z);]] || The creal functions compute the real part of z. || [[C99]]
 
|}
 
|}
  
{{DEFAULTSORT:complex.h}}
+
{{DEFAULTSORT:Complex.h - C}}
[[Category:complex.h]]
+
[[Category:C standard library]]
 +
[[Category:Complex.h - C]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)