System.Math.TValueSign
Delphi
type TValueSign = -1..1;
C++
typedef System::Int8 TValueSign;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
TValueSign は Sign の戻り値を定義します。
Sign ルーチンは、数値が負、ゼロ、正のどれであるかを判定します。判定結果は、以下のような TValueSign 値で返されます。
値 | 関連付けられている定数 | 意味 |
---|---|---|
-1 |
NegativeValue |
負の数。 |
0 |
ZeroValue |
ゼロ。 |
+1 |
PositiveValue |
正の数。 |