double complex conj(double complex z);
==== description of conj ====
calculate the complex conjugate
#include
#include
int main( void )
{
long double complex z = -1.11 - I*2.22;
long double result;
result = conjl(z);
printf("conjl of %lf + %lf*I is %lf + %lf*I\n",creall(z), cimagl(z), result);
return 0;
}
===== output of conj c example =====
conjl of -0.000000 + 20000732176748649000000000000000000000.000000*I is 0.000000 + -0.000000*I