Method IsPositive
- Namespace
- Zyl.VectorTraits.Numerics
- Assembly
- VectorTraits.dll
IsPositive(float)
Determines if a element represents zero or a positive number (确定元素是否为正零或正数).
public static bool IsPositive(float value)
Parameters
value
floatThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
doubleThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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 value)
Parameters
value
HalfThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
sbyteThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
shortThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
intThe value to be checked (要检查的值).
Returns
- bool
Return
true
if 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
value
longThe value to be checked (要检查的值).
Returns
- bool
Return
true
if value represents positive zero or a positive real number, otherwise isfalse
(如果值表示正零或正实数,则返回true
,否则返回false
).
- See Also
-
IsPositive(TSelf)