OSDN Git Service

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