INFINITY
提供: 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>
|
||
#define INFINITY /*implementation defined*/ |
(C + + 11以来) | |
マクロ
INFINITY
は実装によってサポートされている場合、またはコンパイル時にfloatオーバーフローすることが保証されて正の値には、正または符号なしの無限大と評価されるタイプfloatの定数式に展開.Original:
The macro
INFINITY
expands to constant expression of type float which evaluates to positive or unsigned infinity, if supported by implementation, or to a positive value that is guaranteed to overflow a float at compile time.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.
[編集] も参照してください
[静的] |
与えられた浮動小数点型の正の無限大の値を返します Original: returns the positive infinity value of the given floating-point type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共の静的メンバ関数of std::numeric_limits )
|
(C++11) |
与えられた数が無限であるかどうかをチェックします Original: checks if the given number is infinite The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |