aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/mingwex/complex/crealf.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/complex/crealf.c')
-rwxr-xr-xwinsup/mingw/mingwex/complex/crealf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/complex/crealf.c b/winsup/mingw/mingwex/complex/crealf.c
new file mode 100755
index 0000000..16dc7ec
--- /dev/null
+++ b/winsup/mingw/mingwex/complex/crealf.c
@@ -0,0 +1,6 @@
+#include <complex.h>
+float __attribute__ ((const)) crealf (float complex _Z)
+{
+ return __real__ _Z;
+}
+