語言

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

定義

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

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

參數

value
UInt32

結果所用的大小值。

sign
UInt32

結果中使用符號的值。

傳回

一個大小為 、 value 符號為 sign的值。

實作

適用於