Other Direct3D Extensions (D3DX) Constants
Other Direct3D extensions (D3DX) constants include the following:
16-Bit Floating Point Numbers
#define | Value | Description |
---|
D3DX_16F_DIG | 3 | Number of decimal digits of precision |
D3DX_16F_EPSILON | 4.8875809e-4f | Smallest such that 1.0 + epsilon != 1.0 |
D3DX_16F_MANT_DIG | 11 | Number of bits in mantissa |
D3DX_16F_MAX | 6.5519996e+4f | Maximum value |
D3DX_16F_MAX_10_EXP | 4 | Maximum decimal exponent |
D3DX_16F_MAX_EXP | 15 | Maximum binary exponent |
D3DX_16F_MIN | 6.1035156e-5f | Minimum positive value |
D3DX_16F_MIN_10_EXP | (-4) | Minimum decimal exponent |
D3DX_16F_MIN_EXP | (-12) | Minimum binary exponent |
D3DX_16F_RADIX | 2 | Exponent radix |
D3DX_16F_ROUNDS | 1 | Addition rounding: near |
These #defines are declared in D3dx9math.h.