diff options
Diffstat (limited to 'lib/libm/cimagl.c')
| -rw-r--r-- | lib/libm/cimagl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libm/cimagl.c b/lib/libm/cimagl.c new file mode 100644 index 00000000..5e63ab5d --- /dev/null +++ b/lib/libm/cimagl.c @@ -0,0 +1,7 @@ +#include "__complex.h" + +long double cimagl(long double complex z) +{ + long_double_complex w = { .z = z }; + return IMAG_PART(w); +} |
