Skip to content

Commit

Permalink
Merge pull request #224 from Coeur/coeur/input_num
Browse files Browse the repository at this point in the history
float_common.h:237:52 Value stored to 'input_num' is never read
  • Loading branch information
lemire authored Nov 27, 2023
2 parents 80400d2 + c325db1 commit 736561c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fast_float/float_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int leading_zeroes_generic(uint64_t input_num, int last_bit = 0) {
if(input_num & uint64_t( 0xff00)) { input_num >>= 8; last_bit |= 8; }
if(input_num & uint64_t( 0xf0)) { input_num >>= 4; last_bit |= 4; }
if(input_num & uint64_t( 0xc)) { input_num >>= 2; last_bit |= 2; }
if(input_num & uint64_t( 0x2)) { input_num >>= 1; last_bit |= 1; }
if(input_num & uint64_t( 0x2)) { /* input_num >>= 1; */ last_bit |= 1; }
return 63 - last_bit;
}

Expand Down

0 comments on commit 736561c

Please sign in to comment.