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. |
| Defined in header <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.
arg0場合、範囲エラーが発生します。 -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.
[編集] も参照してください
| 計算する自然(底 E)対数(底へ E)(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) |
戻り eを与えられたパワーに上げ、マイナス1(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. (機能) |