Table of Contents

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 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(double)

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

public static bool IsNegative(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(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 is false (如果值表示负零或负实数,则返回 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 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(short)

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

public static bool IsNegative(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(int)

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

public static bool IsNegative(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(long)

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

public static bool IsNegative(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)