summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa/strtorx.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-03-12 07:03:06 +0000
committerdas <das@FreeBSD.org>2011-03-12 07:03:06 +0000
commit22b42559b254072c025ee7660742d9096d6ddbfd (patch)
tree02fea95a802135fbb5d2f67a8c005bf132b6e256 /contrib/gdtoa/strtorx.c
parentbb4fe3b8f6c28c422e237503dec22ccea5269dba (diff)
parenta0113107f8ebf649eb6c0730ece07fe0865a384b (diff)
downloadFreeBSD-src-22b42559b254072c025ee7660742d9096d6ddbfd.zip
FreeBSD-src-22b42559b254072c025ee7660742d9096d6ddbfd.tar.gz
Merge gdtoa-20110304.
Diffstat (limited to 'contrib/gdtoa/strtorx.c')
-rw-r--r--contrib/gdtoa/strtorx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gdtoa/strtorx.c b/contrib/gdtoa/strtorx.c
index e9fd45f..cd938f1 100644
--- a/contrib/gdtoa/strtorx.c
+++ b/contrib/gdtoa/strtorx.c
@@ -89,7 +89,8 @@ ULtox(UShort *L, ULong *bits, Long exp, int k)
case STRTOG_Infinite:
L[_0] = 0x7fff;
- L[_1] = L[_2] = L[_3] = L[_4] = 0;
+ L[_1] = 0x8000;
+ L[_2] = L[_3] = L[_4] = 0;
break;
case STRTOG_NaN:
OpenPOWER on IntegriCloud