std::ldexp
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cmath>
|
||
float ldexp( float arg, int exp ); |
||
double ldexp( double arg, int exp ); |
||
long double ldexp( long double arg, int exp ); |
||
double ldexp( Integral arg, int exp ); |
(C++11およびそれ以降) | |
電源
arg
に引き上げ2による浮動小数点値を乗算exp
.Original:
Multiplies an floating point value
arg
by 2 raised to power exp
.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.
[編集] パラメータ
arg | - | 浮動小数点値
Original: 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: integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
戻り
x×2exp
Original:
returns
x×2exp
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.
結果は、基になる型には大きすぎる場合、範囲エラーが発生し、HUGE_VALが返されます.
Original:
If the result is too large for the underlying type, range error occurs and HUGE_VAL is returned.
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.
[編集] 参照
数値は仮数と2の力に分解する Original: decomposes a number into significand and a power of 2 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
(C++11) (C++11) |
累乗しFLT_RADIXによって数を乗算します Original: multiplies a number by FLT_RADIX raised to a power The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) |