creal(3) Library Functions Manual creal(3) creal, crealf, creall - (libm, -lm) #include double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); z. : z = creal(z) + I * cimag(z) attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |creal(), crealf(), creall() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ GCC supports also __real__. That is a GNU extension. C11, POSIX.1-2008. glibc 2.1. C99, POSIX.1-2001. cabs(3), cimag(3), complex(7) () Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , Katrin Kutepova , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . Linux man-pages 6.18 8 2026 . creal(3)