diff options
Diffstat (limited to 'lib/libc/gdtoa/strtorx.c')
-rw-r--r-- | lib/libc/gdtoa/strtorx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gdtoa/strtorx.c b/lib/libc/gdtoa/strtorx.c index 201d7149121..473642cfa0d 100644 --- a/lib/libc/gdtoa/strtorx.c +++ b/lib/libc/gdtoa/strtorx.c @@ -83,7 +83,8 @@ ULtox(UShort *L, ULong *bits, Long exp, int k) /* FALLTHROUGH */ 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: |