compute all basic operators