.\" Copyright 1995 Jim Van Zandt .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" changed `square root' into `cube root' - aeb, 950919 .\" .\" Modified 2002-07-27 Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi .\" all rights reserved. .\" Translated Mon Jan 20 17:29:27 JST 1997 .\" by YOSHINO Takashi Yoshino .\" Updated & Modified Fri Jul 25 22:03:54 JST 2003 .\" by Akihiro MOTOKI .\" Updated 2008-09-15, Akihiro MOTOKI .\" .TH CBRT 3 2013\-09\-18 GNU "Linux Programmer's Manual" .SH 名前 cbrt, cbrtf, cbrtl \- 立方根を計算する関数 .SH 書式 .nf \fB#include \fP .sp \fBdouble cbrt(double \fP\fIx\fP\fB);\fP .br \fBfloat cbrtf(float \fP\fIx\fP\fB);\fP .br \fBlong double cbrtl(long double \fP\fIx\fP\fB);\fP .fi .sp \fI\-lm\fP でリンクする。 .sp .in -4n glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照): .in .sp .ad l \fBcbrt\fP(): .br .RS 4 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L; .br or \fIcc\ \-std=c99\fP .RE \fBcbrtf\fP(), \fBcbrtl\fP(): .RS 4 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE || _POSIX_C_SOUCE\ >=\ 200112L; .br or \fIcc\ \-std=c99\fP .RE .ad b .SH 説明 \fBcbrt\fP() 関数は \fIx\fP の (実数)立方根を返す。 この関数が失敗することはない。なぜなら、 すべての内部表現可能な (representable) 実数は 必ず内部表現可能な立方根を持つためである。 .SH 返り値 これらの関数は \fIx\fP の立方根を返す。 \fIx\fP が +0、\-0、正の無限大、負の無限大、NaN のいずれかの場合、 \fIx\fP が返される。 .SH エラー エラーは発生しない。 .SH 属性 .SS "マルチスレッディング (pthreads(7) 参照)" 関数 \fBcbrt\fP(), \fBcbrtf\fP(), \fBcbrtl\fP() はスレッドセーフである。 .SH 準拠 .\" .BR cbrt () .\" was a GNU extension. It is now a C99 requirement. C99, POSIX.1\-2001. .SH 関連項目 \fBpow\fP(3), \fBsqrt\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。