add trunc_div and trunch_rem to decoder helpers