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