projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
just 64 bit alpha has the worst float precision
[fw/sdcc]
/
support
/
regression
/
tests
/
simplefloat.c
diff --git
a/support/regression/tests/simplefloat.c
b/support/regression/tests/simplefloat.c
index b19c8055a7d78e4fd0c6e8f3ccce3a4838148f68..49ae5101f5a660ebaf40782e786ca479814e6aeb 100644
(file)
--- a/
support/regression/tests/simplefloat.c
+++ b/
support/regression/tests/simplefloat.c
@@
-4,7
+4,7
@@
#include <math.h>
#if (PORT_HOST)
-# define FCOMP(a,b) (fabsf((a) - (b)) < ((b) * 1e-
10
))
+# define FCOMP(a,b) (fabsf((a) - (b)) < ((b) * 1e-
7
))
#else
/* Testing floats for equality is normally a bug,
but too keep this test simple we dare it. And