Is tan(pi/2) undefined, or infinity?

Is tan(pi/2) undefined, or infinity?