Big Float.Copy Sign Method
Copies the sign of a number to another number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A number with the magnitude of magnitudeValue and the sign of signValue.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static BigFloat CopySign(
BigFloat magnitudeValue,
BigFloat signValue
)
Parameters
- magnitudeValue BigFloat
- The value whose sign is to be adjusted.
- signValue BigFloat
- The value whose sign is to be used.
Return Value
BigFloatA number with the magnitude of magnitudeValue and the sign of signValue.
Implements
INumber<TSelf>.CopySign(TSelf, TSelf)Exceptions
Argument | magnitudeValue is null. -or- signValue is null. |