std::scalbn, std::scalbln
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cmath>
|
||
float scalbn( float x, int exp ); |
(C++11およびそれ以降) | |
double scalbn( double x, int exp ); |
(C++11およびそれ以降) | |
long double scalbn( long double x, int exp ); |
(C++11およびそれ以降) | |
double scalbn( Integral x, int exp ); |
(C++11およびそれ以降) | |
float scalbln( float x, long exp ); |
(C++11およびそれ以降) | |
double scalbln( double x, long exp ); |
(C++11およびそれ以降) | |
long double scalbln( long double x, long exp ); |
(C++11およびそれ以降) | |
double scalbln( Integral x, long exp ); |
(C++11およびそれ以降) | |
電源
x
に引き上げFLT_RADIXによる浮動小数点値exp
を乗算します。バイナリのシステムではldexp()
に相当しますOriginal:
Multiplies an floating point value
x
by FLT_RADIX raised to power exp
. On binary system it is equivalent to ldexp()
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×FLT_RADIXexp
Original:
returns
x×FLT_RADIXexp
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. (関数) | |
累乗し2によって数を乗算します Original: multiplies a number by 2 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. (関数) |