UInt128.INumber<UInt128>.CopySign(UInt128, UInt128) 方法

定義

將值的正負號複製到另一個值的正負號。

 static UInt128 System.Numerics.INumber<System.UInt128>.CopySign(UInt128 value, UInt128 sign) = System::Numerics::INumber<UInt128>::CopySign;
static UInt128 INumber<UInt128>.CopySign (UInt128 value, UInt128 sign);
static member System.Numerics.INumber<System.UInt128>.CopySign : UInt128 * UInt128 -> UInt128
 Shared Function CopySign (value As UInt128, sign As UInt128) As UInt128 Implements INumber(Of UInt128).CopySign

參數

value
UInt128

值,其大小用於結果中。

sign
UInt128

其正負號用於結果中的值。

傳回

量級為 value 且符號為 sign 的值。

實作

適用於