diff options
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libm/rint/rint.c | 4 |
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) |