Click or drag to resize

HalfTypeNegate Method

Returns the result of multiplying the specified System.Half value by negative one.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static HalfType Negate(
	HalfType half
)

Parameters

half
Type: NeoAxisHalfType
A System.Half.

Return Value

Type: HalfType
A System.Half with the value of half, but the opposite sign. -or- Zero, if half is zero.
See Also