csqrt(3M)csqrt(3M)NAMEcsqrt(), csqrtf(), csqrtl(), csqrtw(), csqrtq() - complex square root
functions
SYNOPSISDESCRIPTION
These functions are available only for Integrity servers.
returns the complex square root of z in the range of the right half-
plane (including the imaginary axis). There is a branch cut along the
negative real axis.
is a version of it takes a argument and returns a result.
is a version of it takes a argument and returns a result.
is an version of it takes an argument and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions, compile with the default option. To use com‐
pile with the option. Make sure your program includes Link in the math
library by specifying on the compiler or linker command line.
RETURN VALUE
=
returns +0+i0.
returns +Inf+iInf, for all x (including NaN).
returns NaN+iNaN and optionally raises the invalid floating-point
exception, for finite x.
returns +0+iInf, for finite positive-signed y.
returns +Inf+i0, for finite positive-signed y.
(where the sign of the imaginary part of the result is unspecified).
returns +Inf+iNaN.
returns NaN+iNaN and optionally raises the invalid floating-point
exception, for finite y.
returns NaN+iNaN.
ERRORS
No errors are defined.
SEE ALSOsqrt(3M), cpow(3M), complex(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex G, ``IEC 60559-compatible complex arith‐
metic'')
HP Integrity Server Only csqrt(3M)