Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33662
b: refs/heads/master
c: b53a2b4
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Jacobowitz authored and Russell King committed Aug 27, 2006
1 parent bf593b3 commit e7c5af6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c29ecac18cb740ae845db14963ac586c53962453
refs/heads/master: b53a2b41f156a9c9b62c14502037cbc15bc08b54
2 changes: 1 addition & 1 deletion trunk/arch/arm/vfp/vfpdouble.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static u32 vfp_double_fcvts(int sd, int unused, int dm, u32 fpscr)
*/
if (tm & (VFP_INFINITY|VFP_NAN)) {
vsd.exponent = 255;
if (tm & VFP_NAN)
if (tm == VFP_QNAN)
vsd.significand |= VFP_SINGLE_SIGNIFICAND_QNAN;
goto pack_nan;
} else if (tm & VFP_ZERO)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/vfp/vfpsingle.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ static u32 vfp_single_fcvtd(int dd, int unused, s32 m, u32 fpscr)
*/
if (tm & (VFP_INFINITY|VFP_NAN)) {
vdd.exponent = 2047;
if (tm & VFP_NAN)
if (tm == VFP_QNAN)
vdd.significand |= VFP_DOUBLE_SIGNIFICAND_QNAN;
goto pack_nan;
} else if (tm & VFP_ZERO)
Expand Down

0 comments on commit e7c5af6

Please sign in to comment.