summaryrefslogblamecommitdiff
path: root/src/complex/cimagf.c
blob: 99fffc585fb838024d754e0ca87d5f61ec46901b (plain) (tree)
1
2
3
4
5
6
7






                               
#include "libm.h"

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