summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2013-08-02 22:19:33 +0000
committerkettenis <kettenis@openbsd.org>2013-08-02 22:19:33 +0000
commit70e7c42218cd38d6711ea4d0e9c0f7e728bf938d (patch)
tree4cdbe0afecd73e6de9355d1e4295d03569565c46
parentFix a couple of corner cases in the implementation of pow(3) to make it (diff)
downloadwireguard-openbsd-70e7c42218cd38d6711ea4d0e9c0f7e728bf938d.tar.xz
wireguard-openbsd-70e7c42218cd38d6711ea4d0e9c0f7e728bf938d.zip
tgamma(0) == Inf
-rw-r--r--regress/lib/libm/cephes/testvectl.c4
-rw-r--r--regress/lib/libm/cephes/testvectll.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libm/cephes/testvectl.c b/regress/lib/libm/cephes/testvectl.c
index c0436eb6263..b7813707e81 100644
--- a/regress/lib/libm/cephes/testvectl.c
+++ b/regress/lib/libm/cephes/testvectl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: testvectl.c,v 1.3 2013/08/02 20:23:28 kettenis Exp $ */
+/* $OpenBSD: testvectl.c,v 1.4 2013/08/02 22:19:33 kettenis Exp $ */
/*
* Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net>
@@ -236,7 +236,7 @@ static struct oneargument test1[] =
{"tgammal", tgammal, &NANL, &NANL, 0},
{"tgammal", tgammal, &INFINITYL, &INFINITYL, 0},
{"tgammal", tgammal, &MONEL, &NANL, 0},
- {"tgammal", tgammal, &ZEROL, &NANL, 0},
+ {"tgammal", tgammal, &ZEROL, &INFINTYL, 0},
{"tgammal", tgammal, &MINFL, &NANL, 0},
{"lgammal", lgammal, &NANL, &NANL, 0},
{"lgammal", lgammal, &INFINITYL, &INFINITYL, 0},
diff --git a/regress/lib/libm/cephes/testvectll.c b/regress/lib/libm/cephes/testvectll.c
index b4984344785..a4ffe2782dc 100644
--- a/regress/lib/libm/cephes/testvectll.c
+++ b/regress/lib/libm/cephes/testvectll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: testvectll.c,v 1.3 2013/08/02 20:23:28 kettenis Exp $ */
+/* $OpenBSD: testvectll.c,v 1.4 2013/08/02 22:19:33 kettenis Exp $ */
/*
* Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net>
@@ -239,7 +239,7 @@ static struct oneargument test1[] =
{"tgammal", tgammal, &NANL, &NANL, 0},
{"tgammal", tgammal, &INFINITYL, &INFINITYL, 0},
{"tgammal", tgammal, &MONEL, &NANL, 0},
- {"tgammal", tgammal, &ZEROL, &NANL, 0},
+ {"tgammal", tgammal, &ZEROL, &INFINITYL, 0},
{"tgammal", tgammal, &MINFL, &NANL, 0},
{"lgammal", lgammal, &NANL, &NANL, 0},
{"lgammal", lgammal, &INFINITYL, &INFINITYL, 0},