fix risc-v compiler bug for sin/cos/exp/...