Method CopySign
- Namespace
- Zyl.VectorTraits.ExTypes
- Assembly
- VectorTraits.dll
CopySign(ExInt128, ExInt128)
Copies the sign of a value to the sign of another value.
public static ExInt128 CopySign(ExInt128 value, ExInt128 sign)
Parameters
value
ExInt128The value whose magnitude is used in the result.
sign
ExInt128The value whose sign is used in the result.
Returns
- ExInt128
A value with the magnitude of
value
and the sign ofsign
.