use alternate formula for acos asm to avoid loss of precision