Big Integer.Copy Sign Method
Returns a value with the magnitude of one value and the sign of another.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A value with the magnitude of value and the sign of sign.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public static BigInteger CopySign(
BigInteger value,
BigInteger sign
)Parameters
- value BigInteger
- The value whose magnitude is used.
- sign BigInteger
- The value whose sign is used.
Return Value
BigIntegerA value with the magnitude of value and the sign of sign.