BigFloat.CopySign 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#
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

BigFloat
A number with the magnitude of magnitudeValue and the sign of signValue.

Exceptions

ArgumentNullException

magnitudeValue is null.

-or-

signValue is null.

See Also