std::log1p
Материал из 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 log1p( float arg ); |
(начиная с C++11) | |
| double log1p( double arg ); |
(начиная с C++11) | |
| long double log1p( long double arg ); |
(начиная с C++11) | |
| double log1p( Integral arg ); |
(начиная с C++11) | |
Вычисляет натуральный (базовый e) логарифм 1+arg. Эта функция является более точным, чем выражение std::log(1+arg) если
arg близка к нулю.Original:
Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression std::log(1+arg) if
arg is close to zero.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. |
[править] Возвращаемое значение
ln(1+arg)
Домен ошибка возникает, если
arg отрицательный. NAN возвращается в том случае.Original:
Domain error occurs if
arg is negative. NAN is returned in that case.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 является 0. -HUGE_VAL возвращается в том случае. Original:
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.
[править] См. также
| вычисляет натуральный (базовый е) логарифм (на базе е) (ln(x)) Original: computes natural (base e) logarithm (to base e) (ln(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| (C++11) |
возвращает е поднят на заданной мощности, минус один (ex-1) Original: returns e raised to the given power, minus one (ex-1) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) |
| вычисляет общие (базовые 10) логарифм (log10(x)) Original: computes common (base 10) logarithm (log10(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| (C++11) |
логарифм по основанию 2 из заданного числа Original: base 2 logarithm of the given number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) |