extend cmath (some of the functions are dummy)
[libm] / src / cmath / cimagl.c
diff --git a/src/cmath/cimagl.c b/src/cmath/cimagl.c
new file mode 100644 (file)
index 0000000..d9a0780
--- /dev/null
@@ -0,0 +1,7 @@
+#include "libm.h"
+
+long double (cimagl)(long double complex z)
+{
+       union lcomplex u = {z};
+       return u.a[1];
+}