summaryrefslogtreecommitdiff
path: root/strtorx.c
diff options
context:
space:
mode:
Diffstat (limited to 'strtorx.c')
-rw-r--r--strtorx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/strtorx.c b/strtorx.c
index 23f721aa2931..d2f947220e65 100644
--- a/strtorx.c
+++ b/strtorx.c
@@ -80,7 +80,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: