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