Idioma

UInt128.Sign(UInt128) Método

Definição

Calcula o sinal de um valor.

public:
 static int Sign(UInt128 value) = System::Numerics::INumber<UInt128>::Sign;
public static int Sign(UInt128 value);
static member Sign : UInt128 -> int
Public Shared Function Sign (value As UInt128) As Integer

Parâmetros

value
UInt128

O valor cujo sinal deve ser calculado.

Devoluções

Um valor positivo se for positivo, value se Zero for zero, e um valor negativo se valuevalue for negativo.

Implementações

Observações

Recomenda-se que uma função retorne 1, 0, e -1, respetivamente.

Aplica-se a