Skip to content

Commit

Permalink
[INTERPRETER] Small cosmetic fix for D2LD helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 10, 2025
1 parent 86211e5 commit b7f14ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/emu/x87emu_private.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ void D2LD(void* d, void* ld)
if(exp80!=0){
mant80final |= 0x8000000000000000L;
exp80final += (BIAS80 - BIAS64);
} else if(mant80final!=0) {
// denormals -> normal
exp80final = BIAS80-1023;
} else {
// denormals -> normal (the case of 0 has been dealt with already)
exp80final = BIAS80-BIAS64;
int one = __builtin_clz(mant80final) + 1;
exp80final -= one;
mant80final<<=one;
Expand Down

0 comments on commit b7f14ff

Please sign in to comment.