GenericExtensions.Sign<T> Method

Returns the sign of the specified number.

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static int Sign<T>(
	IGroupOperations<T> ops,
	T value
)

Parameters

ops  IGroupOperations<T>
A IGroupOperations<T> instance that performs basic arithmetic operations.
value  T
A value.

Type Parameters

T

Return Value

Int32

See Also