1 /* $NetBSD: cimagf.c,v 1.2 2010/09/15 16:11:29 christos Exp $ */
4 * Written by Matthias Drochner <drochner@NetBSD.org>.
7 * imported and modified include for newlib 2010/10/03
8 * Marco Atzeri <marco_atzeri@yahoo.it>
12 #include "../common/fdlibm.h"
15 cimagf(float complex z
)
17 float_complex w
= { .z
= z
};
19 return (IMAG_PART(w
));