From 0308b184009c9dc0ed02ab51026d85d3821824d1 Mon Sep 17 00:00:00 2001 From: Gabriel Ozouf Date: Tue, 9 Jun 2020 13:41:22 +0200 Subject: [PATCH] [liba/float.h] Comment on FLT_EPSILON's definition Change-Id: Iac2da58d9a2f8e4b1bb131255341696db99df188 --- liba/include/float.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/liba/include/float.h b/liba/include/float.h index bc2084890..58ef7ecdf 100644 --- a/liba/include/float.h +++ b/liba/include/float.h @@ -5,6 +5,9 @@ #define FLT_MAX 1E+37f #define FLT_MIN 1E-37f +/* TODO Redefine FLT_EPSILON to comply with the definition : + * FLT_EPSILON is the difference between 1 and the very next floating point + * number. */ #define FLT_EPSILON 1E-5f #define DBL_MAX 1.79769313486231571e+308 #define DBL_MIN 2.22507385850720138e-308