6.6.2 DBL_EPSILON Macro
The difference between 1.0 and the next larger representable double precision floating-point value.
Attention: The default size of the MPLAB XC16
and XC-DSC
double
type is 32 bits, but this can be changed to 64 bits
with the -fno-short-double
option.Include
<float.h>
Definition
Compiler | Definition |
---|---|
MPLAB XC8 | 1.1920928955078125e-7F |
MPLAB XC16 and XC-DSC | 1.1920928955078125e-7F/2.2204460492503131e-16L (See
attention note) |
MPLAB XC32 | 2.2204460492503131e-16L |