scalbn, scalbln
提供: cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <cmath>
|
||
float scalbnf( float x, int exp ); |
||
double scalbn( double x, int exp ); |
||
long double scalbnl( long double x, int exp ); |
||
float scalblnf( float x, long exp ); |
||
double scalbln( double x, long exp ); |
||
long double scalblnl( long double x, long exp ); |
||
電源
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. (関数) | |
C++ documentation for scalbn
|