diff options
Diffstat (limited to 'winsup/mingw/mingwex/complex/creal.c')
-rw-r--r-- | winsup/mingw/mingwex/complex/creal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/complex/creal.c b/winsup/mingw/mingwex/complex/creal.c new file mode 100644 index 000000000..6905b7e2a --- /dev/null +++ b/winsup/mingw/mingwex/complex/creal.c @@ -0,0 +1,6 @@ +#include <complex.h> +double __attribute__ ((const)) creal (double complex _Z) +{ + return __real__ _Z; +} + |