MULT(2);/* mult with constant, twice due to legacy precedence use */
LOGIC(1);/* L_and */
MISC(1);/* extract_l */
#undef WMC_TOOL_SKIP
#if 1
int16_tXph_short_orig=(int16_t)(((int32_t)(Xph*512/EVS_PI))%32768)&0x03ff;/* BE: 2 mults, 1 modulo *//* bad line(for WMC): WMC-costly modulo % in use, no rounding */
int16_tXph_short_1mult_nonbe=(int16_t)(0x000003ff&(int32_t)((Xph*(512.0/EVS_PI))));/* nonBE: single mult, mask the 10 bits in Word32 , still no rounding */
int16_tXph_short_1mult_rnd_nonbe=(int16_t)(0x000003ff&((1L+((int32_t)(Xph*(1024.0/EVS_PI))))>>1));/* nonBE: single mult, add 1(round) shift1, mask the 10 bits in Word32 , i.e. with rounding */