diff options
author | David Schultz <das@FreeBSD.org> | 2011-03-09 06:14:33 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2011-03-09 06:14:33 +0000 |
commit | 21a2b1c905e6a3ae73e3ca075627e81a2ccac58f (patch) | |
tree | 80228e2b243573cbd695c52e7a912cc1643cd1b2 /strtorf.c | |
parent | 9ea4d2a87415d5928272c15f22583103f2ccfe30 (diff) |
Notes
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: |