reset calculator between precedence ambiguity tests