sh: math-emu: drop unused functions