initial cmath code and minor libm.h update
[libm] / src / cmath / crealf.c
diff --git a/src/cmath/crealf.c b/src/cmath/crealf.c
new file mode 100644 (file)
index 0000000..078232f
--- /dev/null
@@ -0,0 +1,6 @@
+#include <complex.h>
+
+float crealf(float complex z)
+{
+       return z;
+}