6.5 <fenv.h> Floating-point Environment

The header file fenv.h implements macros, types, and functions that provide access to any floating-point exception status flags and direction-rounding control modes supported by the implementation. A floating-point status flag is a system variable whose value is set (but never cleared) when a floating-point exception is raised.

Attention: This header is implemented only by MPLAB XC32 C compilers when using a device with a floating-point unit (FPU). The PIC32MZ-EF family devices, for example, implement a FPU. (e.g. PIC32MZ2048EFG144)