I'm trying to use the function casin from the complex.h library, but an error ocurres. This is the code:
#include <stdio.h>
#include <complex.h>
#include <math.h>
int main() {
double complex z = 1.0 - 1.0 * I;
double complex arcz = casin(z);
return 0;
}
I'm getting an "Undefined reference to casin"