Loading lib_com/basop_util.c +4 −0 Original line number Diff line number Diff line Loading @@ -1085,7 +1085,11 @@ Word32 Sqrt_l( return L_deposit_l( 0 ); } #if 0 /* original version creates an overflow warning */ e = s_and(norm_l(L_x), 0xFFFE); /* get next lower EVEN norm. exp */ #else e = s_and( norm_l( L_x ), 0x7FFE ); /* get next lower EVEN norm. exp */ #endif L_x = L_shl( L_x, e ); /* L_x is normalized to [0.25..1) */ *exp = e; move16(); /* return 2*exponent (or Q1) */ Loading Loading
lib_com/basop_util.c +4 −0 Original line number Diff line number Diff line Loading @@ -1085,7 +1085,11 @@ Word32 Sqrt_l( return L_deposit_l( 0 ); } #if 0 /* original version creates an overflow warning */ e = s_and(norm_l(L_x), 0xFFFE); /* get next lower EVEN norm. exp */ #else e = s_and( norm_l( L_x ), 0x7FFE ); /* get next lower EVEN norm. exp */ #endif L_x = L_shl( L_x, e ); /* L_x is normalized to [0.25..1) */ *exp = e; move16(); /* return 2*exponent (or Q1) */ Loading