cimag.c 97 字节
Newer Older
R
Rich Felker 已提交
1 2 3 4 5 6 7
#include "libm.h"

double (cimag)(double complex z)
{
	union dcomplex u = {z};
	return u.a[1];
}