summaryrefslogtreecommitdiff
path: root/strtopf.c
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2011-03-09 06:14:33 +0000
committerDavid Schultz <das@FreeBSD.org>2011-03-09 06:14:33 +0000
commit21a2b1c905e6a3ae73e3ca075627e81a2ccac58f (patch)
tree80228e2b243573cbd695c52e7a912cc1643cd1b2 /strtopf.c
parent9ea4d2a87415d5928272c15f22583103f2ccfe30 (diff)
Notes
Diffstat (limited to 'strtopf.c')
-rw-r--r--strtopf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strtopf.c b/strtopf.c
index 74694a07ef515..23ca5cbe582ae 100644
--- a/strtopf.c
+++ b/strtopf.c
@@ -58,7 +58,7 @@ strtopf(CONST char *s, char **sp, float *f)
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: