1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
4 .\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI
5 .\" all rights reserved.
6 .\" Translated Wed Jul 23 05:04:09 JST 2003
7 .\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
9 .\"WORD: complex number 複素数
12 .TH CABS 3 2008-08-06 "" "Linux Programmer's Manual"
14 .\"O cabs, cabsf, cabsl \- absolute value of a complex number
16 cabs, cabsf, cabsl \- 複素数の絶対値
19 .B #include <complex.h>
21 .BI "double cabs(double complex " z );
23 .BI "float cabsf(float complex " z );
25 .BI "long double cabsl(long double complex " z );
27 .\"O Link with \fI\-lm\fP.
33 .\"O function returns the absolute value of the complex number
35 .\"O The result is a real number.
43 .\"O These functions first appeared in glibc in version 2.1.
44 これらの関数は glibc バージョン 2.1 で初めて登場した。
45 .\"O .SH "CONFORMING TO"
50 .\"O The function is actually an alias for
51 .\"O .I "hypot(a,\ b)"
52 .\"O (or, equivalently,
53 .\"O .IR "sqrt(a*a\ +\ b*b)" ).
56 .RI ( "sqrt(a*a\ +\ b*b)"