about summary refs log tree commit diff
path: root/src/complex/cimagf.c
blob: 99fffc585fb838024d754e0ca87d5f61ec46901b (plain) (blame)
1
2
3
4
5
6
7
#include "libm.h"

float (cimagf)(float complex z)
{
	union fcomplex u = {z};
	return u.a[1];
}