Returns a value indicating the sign of a half-precision floating-point number.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static int Sign(
HalfType value
)
Parameters
- value HalfType
- A signed number.
Return Value
Int32
A number indicating the sign of value. Number Description -1 value is less
than zero. 0 value is equal to zero. 1 value is greater than zero.
Exceptions
See Also