Big Float.Copy Sign Method
Copies the sign of a number to another number.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A number with the magnitude of magnitudeValue and the sign of signValue.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.
Exceptions
Argument | magnitudeValue is null. -or- signValue is null. |