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
value
floatThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
doubleThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
x
Half
Returns
- bool
Return
true
if 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
value
sbyteThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
shortThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
intThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
longThe value to be checked (要检查的值).
Returns
- bool
Return
true
if value represents negative zero or a negative real number, otherwise isfalse
(如果值表示负零或负实数,则返回true
,否则返回false
).
- See Also
-
IsNegative(TSelf)