System.Math.IsInfinite

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function IsInfinite(const AValue: Single): Boolean;
function IsInfinite(const AValue: Double): Boolean;
function IsInfinite(const AValue: Extended): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsInfinite(const float AValue)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

説明

変数または式が無限大の値を表すかどうかを示します。

IsInfinite を使用すると、AValue で指定された値が正または負の無限大を表すかどうかを検査できます。正の無限大と負の無限大を区別する場合は、Sign 関数を使用します。

関連項目