Table of Contents

Method IsNegative_Bcl

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

IsNegative_Bcl(float)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(float value)

Parameters

value float

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(double)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(double value)

Parameters

value double

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(decimal)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(decimal value)

Parameters

value decimal

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(Half)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(Half value)

Parameters

value Half

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(sbyte)

Determines if a element represents a negative number (确定元素是否为负数).

[CLSCompliant(false)]
public static bool IsNegative_Bcl(sbyte value)

Parameters

value sbyte

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(short)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(short value)

Parameters

value short

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(int)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(int value)

Parameters

value int

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)

IsNegative_Bcl(long)

Determines if a element represents a negative number (确定元素是否为负数).

public static bool IsNegative_Bcl(long value)

Parameters

value long

The value to be checked (要检查的值).

Returns

bool

Return true if value represents negative zero or a negative real number, otherwise is false (如果值表示负零或负实数,则返回 true,否则返回 false).

See Also
IsNegative(TSelf)