Skip to content

Commit f291f45

Browse files
committed
softfloat: Fix tp init in float32_exp2
Typo in the conversion to FloatParts64. Fixes: 572c4d8 Fixes: Coverity CID 1457457 Signed-off-by: Richard Henderson <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
1 parent c372565 commit f291f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpu/softfloat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4818,7 +4818,7 @@ float32 float32_exp2(float32 a, float_status *status)
48184818

48194819
float_raise(float_flag_inexact, status);
48204820

4821-
float64_unpack_canonical(&xnp, float64_ln2, status);
4821+
float64_unpack_canonical(&tp, float64_ln2, status);
48224822
xp = *parts_mul(&xp, &tp, status);
48234823
xnp = xp;
48244824

0 commit comments

Comments
 (0)