diff options
Diffstat (limited to 'strtopf.c')
-rw-r--r-- | strtopf.c | 2 |
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: |