Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / complex / creall.c
blob7aa88c272853c67072a57bf9e90ad52beb8acef7
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 creall (long double complex z)
13 long_double_complex w = { .z = z };
15 return (REAL_PART(w));