math: change the formula used for acos.s