Aaronson mentions in here that:
Recall that $\mathsf{PP}$ is the class of problems like the following:
Given a sum of exponentially many real numbers, each of which can be evaluated in polynomial time, is the sum positive or negative (promised that one of these is the case)?
I simply do not see why this problem is $\mathrm{PP}$. The usual definition of $\mathsf{PP}$ that I know is: "If a decision problem is in $\mathsf{PP}$, then there is an algorithm for it that is allowed to flip coins and make random decisions. It is guaranteed to run in polynomial time. If the answer is YES, the algorithm will answer YES with probability more than $1/2$. If the answer is NO, the algorithm will answer YES with probability less than or equal to $1/2$."
So does he mean that there is a randomized algorithm that runs in polynomial time and can decide whether the sum of exponentially many real numbers is positive or negative? If so, what's the algorithm exactly? Can someone please explain?