first commit of the new libm!
[musl] / src / complex / creal.c
diff --git a/src/complex/creal.c b/src/complex/creal.c
new file mode 100644 (file)
index 0000000..2bb9181
--- /dev/null
@@ -0,0 +1,6 @@
+#include <complex.h>
+
+double creal(double complex z)
+{
+       return z;
+}