diff options
author | ngie <ngie@FreeBSD.org> | 2014-11-16 20:34:46 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-11-16 20:34:46 +0000 |
commit | aafcbc634af40ccf4c272014500d79a0e2718091 (patch) | |
tree | c2ae6d83ae020ddb6bf58345bf7f6662994d955e /contrib/netbsd-tests | |
parent | fb2e4ef1cd853186d2dba578329b4cd74bc05b0f (diff) | |
download | FreeBSD-src-aafcbc634af40ccf4c272014500d79a0e2718091.zip FreeBSD-src-aafcbc634af40ccf4c272014500d79a0e2718091.tar.gz |
Skip the long-double epsilon checks on FreeBSD/i386
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libm/t_precision.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libm/t_precision.c b/contrib/netbsd-tests/lib/libm/t_precision.c index 777666f..c01deba 100644 --- a/contrib/netbsd-tests/lib/libm/t_precision.c +++ b/contrib/netbsd-tests/lib/libm/t_precision.c @@ -58,6 +58,7 @@ ATF_TC_BODY(t_precision, tc) x += DBL_EPSILON; ATF_CHECK(x == 2.0); +#if !defined(__FreeBSD__) || !defined(__i386__) y += LDBL_EPSILON; ATF_CHECK(y != 1.0L); y -= 1; @@ -65,6 +66,7 @@ ATF_TC_BODY(t_precision, tc) y = 2; y += LDBL_EPSILON; ATF_CHECK(y == 2.0L); +#endif } ATF_TP_ADD_TCS(tp) |