HP-UX Reference (11i v2 04/09) - 3 Library Functions A-M (vol 6)

c
conj(3M) conj(3M)
(Itanium(R)-based System Only)
NAME
conj( ), conjf( ), conjl( ), conjw( ), conjq( ) - complex conjugate functions
SYNOPSIS
#include <complex.h>
double complex conj(double complex z);
float complex conjf(float complex z);
long double complex conjl(long double complex z);
extended complex conjw(extended complex z);
quad complex conjq(quad complex z);
DESCRIPTION
These functions are available only for Itanium-based systems.
conj() returns the complex conjugate of z, computed by reversing the sign of its imaginary part.
conjf() is a float complex version of
conj(); it takes a float complex argument and returns a
float complex result.
conjl() is a long double complex version of conj(); it takes a long double complex
argu-
ment and returns a
long double complex result.
conjw() is an extended complex version of conj(); it takes an extended complex argument
and returns an extended complex result.
conjq() is equivalent to conjl() on HP-UX systems.
These functions raise no exceptions.
USAGE
To use these functions, compile with the default
-Ae option. To use conjw()
or conjq(), compile
with the
-fpwidetypes option. Make sure your program includes <complex.h>. Link in the math
library by specifying -lm on the compiler or linker command line.
ERRORS
No errors are defined.
SEE ALSO
creal(3M), cimag(3M), complex(5).
STANDARDS CONFORMANCE
conj(), conjf(), conjl() : ISO/IEC C99 (including Annex G, ‘‘IEC 60559-compatible complex arith-
metic’’)
Section 3118 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004