DBL_EPSILON Macro

The difference between 1.0 and the next larger representable double precision floating-point value.

Include

<float.h>

Value

The value 1.192093e-07 by default, 2.220446e-16 if the switch -fno-short-double is used.

Remarks

By default, a double type is the same size as a float type (32-bit representation). The -fno-short-double switch allows the IEEE 64-bit representation to be used for a double precision floating-point value.