BigInteger.CopySign(BigInteger, BigInteger) Metoda

Definice

Zkopíruje znaménko hodnoty na znaménko jiné hodnoty.

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

Parametry

value
BigInteger

Hodnota, jejíž velikost je použita ve výsledku.

sign
BigInteger

Hodnota, jejíž znaménko se použije ve výsledku.

Návraty

Hodnota s velikostí value a znaménkem sign.

Implementuje

Platí pro