Int16.CopySign(Int16, Int16) Metodo

Definizione

Copia il segno di un valore nel segno di un altro valore.

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

Parametri

value
Int16

Valore la cui grandezza viene usata nel risultato.

sign
Int16

Valore il cui segno viene usato nel risultato.

Restituisce

Valore con grandezza value e segno sign.

Implementazioni

Si applica a