std::abs<div class="t-tr-text">(フロート)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(float)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>, std::fabs
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cmath>
|
||
float abs( float arg ); |
||
double abs( double arg ); |
||
long double abs( long double arg ); |
||
float fabs( float arg ); |
||
double fabs( double arg ); |
||
long double fabs( long double arg ); |
||
double fabs( Integral arg ); |
(C++11およびそれ以降) | |
浮動小数点値
arg
の絶対値を計算する.Original:
Computes the absolute value of a floating point value
arg
.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. |
[編集] 値を返します
arg
の絶対値(|arg|
)Original:
the absolute value of
arg
(|arg|
)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.
[編集] 参照
(C++11) |
整数値(|x|)の絶対値を計算します Original: computes absolute value of an integral value (|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) |
チェック与えられた数値が負の場合 Original: checks if the given number is negative The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) |
複素数の絶対値を返します Original: returns the magnitude of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
valarrayの各要素に関数を適用しstd::abs Original: applies the function std::abs to each element of valarray The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |