pow
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| Defined in header <math.h>
|
||
| float powf( float base, float exp ); |
||
| double pow( double base, double exp ); |
||
| long double powl( long double base, long double exp ); |
||
累乗し
baseの値を計算しexpまたはiexp.Original:
Computes the value of
base raised to the power exp or iexp.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] パラメータ
| base | - | 浮動小数点値としてベース
Original: base as floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| exp | - | 浮動小数点値として指数
Original: exponent as floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| iexp | - | 整数値として指数
Original: exponent as integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
base累乗(expまたはiexp). Original:
base raised by power (exp or iexp). The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
baseが0で、expより小さいか0に等しい場合、ドメインエラーが発生します。 NANはその場合に返されます.Original:
Domain error occurs if
base is 0 and exp is less than or equal to 0. NAN is returned in that case.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
baseが負であるとexpが整数値でない場合は、ドメインエラーが発生します。 NANはその場合に返されます.Original:
Domain error occurs if
base is negative and exp is not an integer value. NAN is returned in that case.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
オーバーフローが発生した場合、範囲エラーが発生します。 HUGEVALはその場合に返されます.
Original:
Range error occurs if an overflow takes place. HUGEVAL is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 参照
| 戻り eを与えられた電力(ex)に引き上げた Original: returns e raised to the given power (ex) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
| 計算する自然(底 E)対数(底へ E)(ln(x)) Original: computes natural (base e) logarithm (to base e) (ln(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
| 平方根は(√x)を計算します Original: computes square root (√x) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
| (C99) |
立方根は(3√x)を計算します Original: computes cubic root (3√x) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) |
| C++ documentation for pow
|

