Edit

Share via


Half.UnaryNegation(Half) Operator

Definition

Computes the unary negation of a value.

C#
public static Half operator -(Half value);

Parameters

value
Half

The value for which to compute the unary negation.

Returns

The unary negation of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10