#!/usr/bin/env /friends/bin/cscript #include #include int main() { double complex ipi = x=I*M_PI; double complex z = cexp(ipi); printf("%f+%fi\n", creal(z), cimag(z)); }