Method IsPositive
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
IsPositive(float)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(float value)
Parameters
valuefloatThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(double)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(double value)
Parameters
valuedoubleThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(Half)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(Half x)
Parameters
xHalf
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(sbyte)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
[CLSCompliant(false)]
public static bool IsPositive(sbyte value)
Parameters
valuesbyteThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(short)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(short value)
Parameters
valueshortThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(int)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(int value)
Parameters
valueintThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)
IsPositive(long)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(long value)
Parameters
valuelongThe value to be checked (要检查的值).
Returns
- bool
Return
trueif value represents positive zero or a positive real number, otherwise isfalse(如果值表示正零或正实数,则返回true,否则返回false).
- See Also
-
IsPositive(TSelf)