blob: c1c1a6a105dfc1bb8b3e98d42bfce0165b920c3a (
plain)
1
2
3
4
5
6
7
8
9
|
#include "__complex.h" // for REAL_PART, float_complex
#include <complex.h> // for crealf, complex
float crealf(float complex z)
{
float_complex w = { .z = z };
return (REAL_PART(w));
}
|