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

定義

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

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

參數

value
UInt64

值,其大小用於結果中。

sign
UInt64

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

傳回

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

實作

適用於