summaryrefslogtreecommitdiff
path: root/test/c/bisect.c
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-03-11 09:41:30 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-03-11 09:41:30 +0000
commitbd3e0f3a49e9f785dd75f2806bf791e3aa58b584 (patch)
tree63e6320ebc72da1f0143f49aeb822a8a16801d5c /test/c/bisect.c
parent7dd08351a9167f99c04f47042fb83c03e10d5552 (diff)
Fixed parsing of hex float literals 0xNNNpMMM.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2144 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/c/bisect.c')
-rw-r--r--test/c/bisect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/c/bisect.c b/test/c/bisect.c
index 759f997..14d0624 100644
--- a/test/c/bisect.c
+++ b/test/c/bisect.c
@@ -16,7 +16,8 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#include <float.h>
+
+#define DBL_EPSILON 0x1p-52
void *allocvector(size_t size)
{