SByte.CopySign(SByte, SByte) Método

Definição

Copia o sinal de um valor para o sinal de outro valor.

public:
 static System::SByte CopySign(System::SByte value, System::SByte sign) = System::Numerics::INumber<System::SByte>::CopySign;
public static sbyte CopySign(sbyte value, sbyte sign);
static member CopySign : sbyte * sbyte -> sbyte
Public Shared Function CopySign (value As SByte, sign As SByte) As SByte

Parâmetros

value
SByte

O valor cuja magnitude é usada no resultado.

sign
SByte

O valor cujo sinal é usado no resultado.

Retornos

Um valor com a magnitude e value o sinal de sign.

Implementações

Aplica-se a