表示: Delphi C++
表示設定

System.Math.IsZero

提供:XE2 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 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 以下)かどうかを検査できます。

関連項目

以前のバージョン
他の言語