Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

.\" $NetBSD: csqrt.3,v 1.3 2013/01/29 02:05:09 matt Exp $
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
.Dd January 29, 2013
.Dt CSQRT 3
.Os
.Sh NAME
.Nm csqrt ,
.Nm csqrtf ,
.Nm csqrtl
.Nd complex square root functions
.Sh SYNOPSIS
.In complex.h
.Ft double complex
.Fn csqrt "double complex z"
.Ft float complex
.Fn csqrtf "float complex z"
.Ft long double complex
.Fn csqrtl "long double complex z"
.Sh DESCRIPTION
These functions compute the complex square root of
.Ar z ,
with a branch cut along the negative real axis.
.Sh RETURN VALUES
These functions return the complex square root value, in the
range of the right half-plane (including the imaginary axis).
.Sh ERRORS
No errors are defined.
.Sh SEE ALSO
.Xr cabs 3 ,
.Xr cpow 3 ,
.St -p1003.1-2001
.Aq Pa complex.h
.Sh COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
-- Portable Operating System Interface (POSIX), The Open Group Base
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group.
In the
event of any discrepancy between this version and the original IEEE and
The Open Group Standard, the original IEEE and The Open Group Standard
is the referee document.
The original Standard can be obtained online at
http://www.opengroup.org/unix/online.html .