# fx16 Type Constant Macros

## Description

FX16_ONE | This is the number 1. It is equal to FX16_CONST (1.0f).
FX16_HALF | This is the number 1/2. It is equal to FX16_CONST (0.5.0f).
FX16_SQRT2 | The square root of 2.
FX16_SQRT1_2 | The square root of 1/2.
FX16_SQRT3 | The square root of 3.
FX16_SQRT1_3 | The square root of 1/3.

## Macro Definitions

These macros are defined in `NitroSDK/include/nitro/fx/fx_const.h`.

    #define FX16_ONE                         ((fx16) 0x1000)     // 1.000
    #define FX16_HALF                        ((fx16) 0x0800)     // 0.500
    #define FX16_SQRT2                       ((fx16) 0x16a1)     // 1.414
    #define FX16_SQRT1_2                     ((fx16) 0x0b50)     // 0.707
    #define FX16_SQRT3                       ((fx16) 0x1bb6)     // 1.732
    #define FX16_SQRT1_3                     ((fx16) 0x093d)     // 0.577

## Revision History

02/25/2004 Initial version.