Cygwin: //: fetch only one item per loop
[newlib-cygwin.git] / newlib / libm / complex / cimagl.c
bloba5afdc45647abe2d316f6327c305912cfafc38cb
1 /* Copyright (C) 2015 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
5 */
7 #include <complex.h>
8 #include "../common/fdlibm.h"
10 long double
11 cimagl (long double complex z)
13 long_double_complex w = { .z = z };
15 return IMAG_PART (w);