Loading lib_com/log2.c +3 −1 Original line number Diff line number Diff line Loading @@ -61,6 +61,8 @@ Word16 Log2_norm_lc( /* (o) : Fractional part of Log2. (range: 0<=val if ( L_x <= 0 ) L_x = L_deposit_h( 0x4000 ); #else if ( L_x > 0 ) /* There are many cases in the code where L_x == 0 */ assert( L_x >= 0x40000000 ); /* If assert fail, means input is not normalized as it should be */ L_x = L_max( L_x, 0x40000000 ); #endif Loading Loading
lib_com/log2.c +3 −1 Original line number Diff line number Diff line Loading @@ -61,6 +61,8 @@ Word16 Log2_norm_lc( /* (o) : Fractional part of Log2. (range: 0<=val if ( L_x <= 0 ) L_x = L_deposit_h( 0x4000 ); #else if ( L_x > 0 ) /* There are many cases in the code where L_x == 0 */ assert( L_x >= 0x40000000 ); /* If assert fail, means input is not normalized as it should be */ L_x = L_max( L_x, 0x40000000 ); #endif Loading