Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

On Linux, in /usr/lib/gcc/x86_64-linux-gnu/4.8/include/float.h it has

#define FLT_EPSILON __FLT_EPSILON__

However if you try to grep for __FLT_EPSILON__ you won't find anything. Somehow gcc just knows.

On Linux, in /usr/lib/gcc/x86_64-linux-gnu/4.8/include/float.h it has

#define FLT_EPSILON __FLT_EPSILON__

However if you try to grep for __FLT_EPSILON__ you won't find anything. Somehow gcc just knows.

cout << FLT_EPSILON << endl;

returns

1.19209e-07