summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-12-09 20:35:14 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-12-09 20:35:14 +0000
commitec45c73bee8b228a0317b131bd194e013d3f58fb (patch)
treeb3416b111efba1a95d8d5e27c702bbf5dc700d77 /regress
parentee23e202e6a8cfe06b76b141b4e1464ddcaa519a (diff)
also test rintl
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libm/rint/rint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libm/rint/rint.c b/regress/lib/libm/rint/rint.c
index f6259d11153..edb0baf7348 100644
--- a/regress/lib/libm/rint/rint.c
+++ b/regress/lib/libm/rint/rint.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rint.c,v 1.6 2005/11/17 20:16:26 otto Exp $ */
+/* $OpenBSD: rint.c,v 1.7 2008/12/09 20:35:13 martynas Exp $ */
/* Written by Michael Shalayeff, 2003, Public domain. */
@@ -37,6 +37,8 @@ main(int argc, char *argv[])
errx(1, "rint");
if (rintf(8.6F) != 9)
errx(1, "rintf");
+ if (rintl(8.6L) != 9)
+ errx(1, "rintl");
if (lrint(8.6) != 9L)
errx(1, "lrint");
if (lrintf(8.6F) != 9L)