System.Math.IsZero

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

Delphi

function IsZero(const A: Extended; Epsilon: Extended): Boolean;
function IsZero(const A: Double; Epsilon: Double): Boolean;
function IsZero(const A: Single; Epsilon: Single): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsZero(const System::Extended A, System::Extended Epsilon = 0.000000E+00)/* overload */;

プロパティ

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

説明

浮動小数点型の変数または式がゼロまたはゼロに非常に近いと評価されるかどうかを示します。

IsZero を使用すると、AValue で指定された値がゼロかゼロに非常に近い(差は Epsilon 以下)かどうかを検査できます。

関連項目