Half.UnaryNegation(Half) 操作员

定义

计算值的一元求反。

public:
 static Half operator -(Half value) = System::Numerics::IUnaryNegationOperators<Half, Half>::op_UnaryNegation;
public static Half operator - (Half value);
static member ( ~- ) : Half -> Half
Public Shared Operator - (value As Half) As Half

参数

value
Half

要计算一元求反的值。

返回

的一元求反 value

实现

适用于