Go to the documentation of this file.
35 #ifndef __STDC_WANT_LIB_EXT1__
36 # define __STDC_WANT_LIB_EXT1__ 1
41 #if p99_has_feature(complex_h)
44 #if p99_has_feature(ctype_h)
47 #if p99_has_feature(errno_h)
50 #if p99_has_feature(fenv_h)
53 #if p99_has_feature(inttypes_h)
54 # include <inttypes.h>
56 #if p99_has_feature(locale_h)
59 #if p99_has_feature(math_h)
62 #if p99_has_feature(setjmp_h)
65 #if p99_has_feature(signal_h)
68 #if p99_has_feature(stdio_h)
71 #if p99_has_feature(stdlib_h)
74 #if p99_has_feature(string_h)
77 #if p99_has_feature(tgmath_h)
80 #if p99_has_feature(time_h)
85 #if p99_has_feature(stdatomic_h)
86 # include <stdatomic.h>
88 #if p99_has_feature(threads_h)
91 #ifndef __STDC_NO_COMPLEX__
100 # define CMPLXF(A, B) ((float _Complex)((float)(A) + _Complex_I * (float)(B)))
103 # define CMPLX(A, B) ((double _Complex)((double)(A) + _Complex_I * (double)(B)))
106 # define CMPLXL(A, B) ((long double _Complex)((long double)(A) + _Complex_I * (long double)(B)))
108 # if __STDC_VERSION__ > 201100L
109 # define p99_creall creall
110 # define p99_crealf crealf
111 # define p99_creal creal
112 # define p99_cimagl cimagl
113 # define p99_cimagf cimagf
114 # define p99_cimag cimag
121 # define P00_COMPLEX_PARTIAL(T, A, I) \
125 }){ .p00_c = (A) }).p00_r[I])
133 # undef P00_COMPLEX_PARTIAL
P99_CONST_FUNCTION float p99_cimagf(float _Complex p00_c)
Group compiler dependencies together in one file.
P99_CONST_FUNCTION long double p99_cimagl(long double _Complex p00_c)
#define p99_inline
Try to force a function always to be inlined.
#define P99_CONST_FUNCTION
On architectures that support this, assert that a function is "const", i.e only depends on parameters...
P99_CONST_FUNCTION long double p99_creall(long double _Complex p00_c)
P99_CONST_FUNCTION double p99_cimag(double _Complex p00_c)
P99_CONST_FUNCTION double p99_creal(double _Complex p00_c)
P99_CONST_FUNCTION float p99_crealf(float _Complex p00_c)