swr: remove div/mod from DSP functions.