diff options
author | das <das@FreeBSD.org> | 2011-03-12 07:03:06 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2011-03-12 07:03:06 +0000 |
commit | 22b42559b254072c025ee7660742d9096d6ddbfd (patch) | |
tree | 02fea95a802135fbb5d2f67a8c005bf132b6e256 /contrib/gdtoa/strtorx.c | |
parent | bb4fe3b8f6c28c422e237503dec22ccea5269dba (diff) | |
parent | a0113107f8ebf649eb6c0730ece07fe0865a384b (diff) | |
download | FreeBSD-src-22b42559b254072c025ee7660742d9096d6ddbfd.zip FreeBSD-src-22b42559b254072c025ee7660742d9096d6ddbfd.tar.gz |
Merge gdtoa-20110304.
Diffstat (limited to 'contrib/gdtoa/strtorx.c')
-rw-r--r-- | contrib/gdtoa/strtorx.c | 3 |
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: |