CONJ(3) | Library Functions Manual | CONJ(3)

# NAME

`conj`, `conjf`, `conjl` — compute the complex conjugate

# SYNOPSIS

Math Library (libm, -lm)
`#include <complex.h>`

double complex
`conj`(double complex z);

float complex
`conjf`(float complex z);

long double complex
`conjl`(long double complex z);

# DESCRIPTION

The `conj`(), `conjf`() and `conjl`() functions reverse the sign of the imaginary part of z, producing the complex conjugate.

# RETURN VALUES

The `conj`(), `conjf`() and `conjl`() functions return the complex conjugate of the complex number z.

# SEE ALSO

carg(3)

# STANDARDS

The `conj`(), `conjf`() and `conjl`() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

June 7, 2025 | Debian