diff options
Diffstat (limited to 'strtorf.c')
-rw-r--r-- | strtorf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strtorf.c b/strtorf.c index 46b0ba2e4246..21c6d28b88b9 100644 --- a/strtorf.c +++ b/strtorf.c @@ -46,7 +46,7 @@ ULtof(ULong *L, ULong *bits, Long exp, int k) case STRTOG_Normal: case STRTOG_NaNbits: - L[0] = bits[0] & 0x7fffff | exp + 0x7f + 23 << 23; + L[0] = (bits[0] & 0x7fffff) | ((exp + 0x7f + 23) << 23); break; case STRTOG_Denormal: |