summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-02-21 18:14:16 +0000
committerbluhm <bluhm@openbsd.org>2019-02-21 18:14:16 +0000
commit788baf24f4c44135c7234db46a6a6b7a9dc5f706 (patch)
tree974613a4bb59769a0eae5b0c76f6853112462a1d
parentReplace the print "not ok" with an assert macro. This is consistent (diff)
downloadwireguard-openbsd-788baf24f4c44135c7234db46a6a6b7a9dc5f706.tar.xz
wireguard-openbsd-788baf24f4c44135c7234db46a6a6b7a9dc5f706.zip
Remove the #ifdef i386 special test, it does not compile there.
-rw-r--r--regress/lib/libm/msun/lrint_test.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/regress/lib/libm/msun/lrint_test.c b/regress/lib/libm/msun/lrint_test.c
index 8676d2a8959..fa1b1737780 100644
--- a/regress/lib/libm/msun/lrint_test.c
+++ b/regress/lib/libm/msun/lrint_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lrint_test.c,v 1.2 2019/02/21 17:36:41 bluhm Exp $ */
+/* $OpenBSD: lrint_test.c,v 1.3 2019/02/21 18:14:16 bluhm Exp $ */
/*-
* Copyright (c) 2005-2008 David Schultz <das@FreeBSD.org>
* All rights reserved.
@@ -38,10 +38,6 @@
#include <math.h>
#include <stdio.h>
-#ifdef __i386__
-#include <ieeefp.h>
-#endif
-
/*
* XXX The volatile here is to avoid gcc's bogus constant folding and work
* around the lack of support for the FENV_ACCESS pragma.
@@ -139,10 +135,6 @@ main(void)
printf("1..1\n");
run_tests();
-#ifdef __i386__
- fpsetprec(FP_PE);
- run_tests();
-#endif
printf("ok 1 - lrint\n");