12.1 Enabling Fixed-Point Arithmetic Support

Fixed-point arithmetic support is enabled by default by the MPLAB XC32 C/C++ compiler, allowing use of built-in fixed-point types, literals and operators. The <stdfix.h> header may be included to provide convenient definitions as described in 12.2 Data Types.

The compiler automatically enables support for the DSP-enhanced core when you are compiling for an appropriate PIC32 target device as selected by the -mprocessor option.