OSDN Git Service

12639203f87293e983ee8a2201cc4c9b538c7c0a
[linuxjm/LDP_man-pages.git] / draft / man3 / cbrt.3
1 .\" Copyright 1995 Jim Van Zandt <jrv@vanzandt.mv.com>
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\" changed `square root' into `cube root' - aeb, 950919
26 .\"
27 .\" Modified 2002-07-27 Walter Harms
28 .\" (walter.harms@informatik.uni-oldenburg.de)
29 .\"
30 .\"*******************************************************************
31 .\"
32 .\" This file was generated with po4a. Translate the source file.
33 .\"
34 .\"*******************************************************************
35 .TH CBRT 3 2010\-09\-20 GNU "Linux Programmer's Manual"
36 .SH 名前
37 cbrt, cbrtf, cbrtl \- 立方根を計算する関数
38 .SH 書式
39 .nf
40 \fB#include <math.h>\fP
41 .sp
42 \fBdouble cbrt(double \fP\fIx\fP\fB);\fP
43 .br
44 \fBfloat cbrtf(float \fP\fIx\fP\fB);\fP
45 .br
46 \fBlong double cbrtl(long double \fP\fIx\fP\fB);\fP
47 .fi
48 .sp
49 \fI\-lm\fP でリンクする。
50 .sp
51 .in -4n
52 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
53 .in
54 .sp
55 .ad l
56 \fBcbrt\fP():
57 .br
58 .RS 4
59 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
60 .br
61 or \fIcc\ \-std=c99\fP
62 .RE
63 \fBcbrtf\fP(), \fBcbrtl\fP():
64 .RS 4
65 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
66 || _POSIX_C_SOUCE\ >=\ 200112L;
67 .br
68 or \fIcc\ \-std=c99\fP
69 .RE
70 .ad b
71 .SH 説明
72 \fBcbrt\fP()  関数は \fIx\fP の (実数)立方根を返す。 この関数が失敗することはない。なぜなら、 すべての内部表現可能な
73 (representable) 実数は 必ず内部表現可能な立方根を持つためである。
74 .SH 返り値
75 これらの関数は \fIx\fP の立方根を返す。
76
77 \fIx\fP が +0、\-0、正の無限大、負の無限大、NaN のいずれかの場合、 \fIx\fP が返される。
78 .SH エラー
79 エラーは発生しない。
80 .SH 準拠
81 .\" .BR cbrt ()
82 .\" was a GNU extension. It is now a C99 requirement.
83 C99, POSIX.1\-2001.
84 .SH 関連項目
85 \fBpow\fP(3), \fBsqrt\fP(3)
86 .SH この文書について
87 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
88 である。プロジェクトの説明とバグ報告に関する情報は
89 http://www.kernel.org/doc/man\-pages/ に書かれている。