Quad.CopySign 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#
public static Quad CopySign(
	Quad value,
	Quad sign
)

Parameters

value  Quad
The value whose magnitude is used in the result.
sign  Quad
The value whose sign is used in the result.

Return Value

Quad
A value with the magnitude of value and the sign of sign.

Implements

INumber<TSelf>.CopySign(TSelf, TSelf)

See Also