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