OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / csqrt.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
5 .\"         all rights reserved.
6 .\" Translated Thu Jul 24 00:47:23 JST 2003
7 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
8 .\"
9 .\"WORD:        square root     平方根
10 .\"WORD:        branch cut      分枝切断
11 .\"
12 .TH CSQRT 3 2008-08-11 "" "Linux Programmer's Manual"
13 .SH 名前
14 csqrt, csqrtf, csqrtl \- 複素数の平方根
15 .SH 書式
16 .B #include <complex.h>
17 .sp
18 .BI "double complex csqrt(double complex " z ");"
19 .br
20 .BI "float complex csqrtf(float complex " z ");"
21 .br
22 .BI "long double complex csqrtl(long double complex " z ");"
23 .sp
24 \fI\-lm\fP でリンクする。
25 .SH 説明
26 与えられた複素数の平方根を計算する。
27 但し、平方根のうち実数部が非負の値を返す。
28 実軸の負の部分に沿って分枝切断 (branch cut) がある。
29 (つまり、 \fIeps\fP を小さな正の実数とした場合、
30 \fIcsqrt(\-1+eps*I)\fP が I に近付いていき、
31 一方 \fIcsqrt(\-1\-eps*I)\fP は \-I に近付いていく、
32 ということである。)
33 .SH バージョン
34 これらの関数は glibc バージョン 2.1 で初めて登場した。
35 .SH 準拠
36 C99.
37 .SH 関連項目
38 .BR cabs (3),
39 .BR cexp (3),
40 .BR complex (7)