conj, conjf, or conjl Subroutine

Purpose

Computes the complex conjugate.

Syntax

#include <complex.h>

double complex conj (z)
double complex z;

float complex conjf (z)
float complex z;

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

Description

The conj, conjf, or conjl subroutines compute the complex conjugate of z, by reversing the sign of its imaginary part.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The conj, conjf, or conjl subroutines return the complex conjugate value.