std::frexp
来自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 frexp( float arg, int* exp ); |
||
| double frexp( double arg, int* exp ); |
||
| long double frexp( long double arg, int* exp ); |
||
| double frexp( Integral arg, int* exp ); |
(C++11 起) | |
分解浮点值尾数和指数.
Original:
Decomposes given floating point value to significand and exponent.
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: pointer to integer value to store the exponent to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
有效位
[0.5; 1)的范围内的给定的浮点数。该指数是把整数值指出,exp.Original:
significand of the given floating point number in the range of
[0.5; 1). The exponent is put into integer value pointed to by 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.
[编辑] 另请参阅
| 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++11) |
提取指数的数量 Original: extracts exponent of the number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| (C++11) |
提取指数的数量 Original: extracts exponent of the number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| 分解一个数字的整数部分和小数部分 Original: decomposes a number into integer and fractional parts The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |