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. |
| Заголовочный файл <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. (функция) | |