共用方式為


Half.CopySign(Half, Half) 方法

定義

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

public:
 static Half CopySign(Half value, Half sign) = System::Numerics::INumber<Half>::CopySign;
public static Half CopySign (Half value, Half sign);
static member CopySign : Half * Half -> Half
Public Shared Function CopySign (value As Half, sign As Half) As Half

參數

value
Half
sign
Half

傳回

Half

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

實作

適用於