OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / 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 .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
29 .\"       all rights reserved.
30 .\" Translated Mon Jan 20 17:29:27 JST 1997
31 .\"       by YOSHINO Takashi Yoshino <yoshino@civil.jcn.nihon-u.ac.jp>
32 .\" Updated & Modified Fri Jul 25 22:03:54 JST 2003
33 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
34 .\" Updated 2008-09-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
35 .\"
36 .\" WORD:       cube root       Î©Êýº¬
37 .\" WORD:       GNU extension   GNU ¤Ë¤è¤ë³ÈÄ¥
38 .\"
39 .TH CBRT 3  2008-08-05 "GNU"  "Linux Programmer's Manual"
40 .\"O .SH NAME
41 .\"O cbrt, cbrtf, cbrtl \- cube root function
42 .SH Ì¾Á°
43 cbrt, cbrtf, cbrtl \- Î©Êýº¬¤ò·×»»¤¹¤ë´Ø¿ô
44 .\"O .SH SYNOPSIS
45 .SH ½ñ¼°
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double cbrt(double " x );
50 .br
51 .BI "float cbrtf(float " x );
52 .br
53 .BI "long double cbrtl(long double " x );
54 .fi
55 .sp
56 .\"O Link with \fI\-lm\fP.
57 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
58 .sp
59 .in -4n
60 .\"O Feature Test Macro Requirements for glibc (see
61 .\"O .BR feature_test_macros (7)):
62 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
63 .RB ( feature_test_macros (7)
64 »²¾È):
65 .in
66 .sp
67 .ad l
68 .BR cbrt ():
69 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
70 .I cc\ -std=c99
71 .br
72 .BR cbrtf (),
73 .BR cbrtl ():
74 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
75 .I cc\ -std=c99
76 .ad b
77 .\"O .SH DESCRIPTION
78 .SH ÀâÌÀ
79 .\"O The
80 .\"O .BR cbrt ()
81 .\"O function returns the (real) cube root of \fIx\fP.
82 .\"O This function cannot fail; every representable real value has a
83 .\"O representable real cube root.
84 .BR cbrt ()
85 ´Ø¿ô¤Ï \fIx\fP ¤Î (¼Â¿ô)ΩÊýº¬¤òÊÖ¤¹¡£
86 ¤³¤Î´Ø¿ô¤¬¼ºÇÔ¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£¤Ê¤¼¤Ê¤é¡¢
87 ¤¹¤Ù¤Æ¤ÎÆâÉôɽ¸½²Äǽ¤Ê (representable) ¼Â¿ô¤Ï
88 ɬ¤ºÆâÉôɽ¸½²Äǽ¤ÊΩÊýº¬¤ò»ý¤Ä¤¿¤á¤Ç¤¢¤ë¡£
89 .\"O .SH RETURN VALUE
90 .SH ÊÖ¤êÃÍ
91 .\"O These functions return the cube root of
92 .\"O .IR x .
93 ¤³¤ì¤é¤Î´Ø¿ô¤Ï
94 .I x
95 ¤ÎΩÊýº¬¤òÊÖ¤¹¡£
96
97 .\"O If
98 .\"O .I x
99 .\"O is +0, -0, positive infinity, negative infinity, or NaN,
100 .\"O .I x
101 .\"O is returned.
102 .I x
103 ¤¬ +0¡¢-0¡¢Àµ¤Î̵¸ÂÂç¡¢Éé¤Î̵¸ÂÂç¡¢NaN ¤Î¤¤¤º¤ì¤«¤Î¾ì¹ç¡¢
104 .I x
105 ¤¬ÊÖ¤µ¤ì¤ë¡£
106 .\"O .SH ERRORS
107 .SH ¥¨¥é¡¼
108 .\"O No errors occur.
109 ¥¨¥é¡¼¤ÏȯÀ¸¤·¤Ê¤¤¡£
110 .\"O .SH "CONFORMING TO"
111 .SH ½àµò
112 C99, POSIX.1-2001.
113 .\"O .\" .BR cbrt ()
114 .\"O .\" was a GNU extension. It is now a C99 requirement.
115 .\" .BR cbrt ()
116 .\" ¤Ï°ÊÁ°¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤Ã¤¿¡£
117 .\" ¸½ºß¤Ï C99 ¤Çɬ¿Ü¤Î´Ø¿ô¤Ç¤¢¤ë¡£
118 .\"O .SH "SEE ALSO"
119 .SH ´ØÏ¢¹àÌÜ
120 .BR pow (3),
121 .BR sqrt (3)