1 out of 1 rated this helpful - Rate this topic

HALF Data Type

An alias to uint16_t packed with a 16-bit floating-point number consisting of a sign bit, a 5-bit biased exponent, and a 10-bit mantissa.


typedef uint16_t HALF;

Remarks

The HALF data type is equivalent to the IEEE 754 binary16 format.

Namespace: Use DirectX::PackedVector

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Header

DirectXPackedVector.h

 

 

Send comments about this topic to Microsoft

Build date: 11/14/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.