Compute the real part of a complex number
#include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z);
These functions compute the real part of the complex number specified by z.
The real part of z.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |