Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 000000000..16dc7ec46
--- /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;
+}
+