Manpages

COMPLEX(3) BSD Library Functions Manual COMPLEX(3)

NAME

complex — complex floating-point functions

DESCRIPTION

The following functions are complex floating-point values, as arguments and return values. Some use single-precision complex values and some use double-precision complex values, as indicated. The functions conform to the ISO/IEC 9899:1999(E) standard. The function prototypes can be found in the header file complex.h.

To use these functions you must add an additional flag to the link step that produces the executable binary. Specify "-lmx".

These are the functions that use single-precision complex values:

cabsf()

cacosf()

cacoshf()

cargf()

casinf()

casinhf()

catanf()

catanhf()

ccosf()

ccoshf()

cexpf()

cimagf()

clogf()

conjf()

cpowf()

cprojf()

crealf()

csinf()

csinhf()

csqrtf()

ctanf()

ctanhf()

These are the functions that use double-precision complex values:

cabs()

cacos()

cacosh()

carg()

casin()

casinh()

catan()

catanh()

ccos()

ccosh()

cexp()

cimag()

clog()

conj()

cpow()

cproj()

creal()

csin()

csinh()

csqrt()

ctan()

ctanh()

BSD August 15, 2003 BSD