Complex.h: Difference between revisions

Content deleted Content added
+macro
Macro: acc. to http://pubs.opengroup.org/onlinepubs/009604499/basedefs/complex.h.html
Line 7:
 
== Macro ==
Universal macro:
* complex - alias of _Complex
* _Complex_I - constant, which has type "const float _Complex" and value of imaginary unit I, I*I=-1
 
Defined only for `C99 Annex G`-compatible compiler modes - native support of imaginary types (rare):
* imaginary - alias of _Imaginary
* _Imaginary_I Expands to a constant expression of type const float _Imaginary with the value of the imaginary unit.
 
Universal alias of I:
* I - alias of _Imaginary_I if it is defined else - alias of _Complex_I
 
Application may undefine complex, imaginary, and I macros if they interfere with internal values.
 
==Functions==