Anybody knows how to compute the Jacobi triple product accurately as $x \rightarrow 1$:
$$ \prod_{m=1}^{\infty}(1-x^{2m})(1 + x^{2m-1}y^{-2})(1 + x^{2m-1}y^{2}) = \sum_{n=-\infty}^{\infty}x^{n^2}y^{-2n} $$
From the right hand series there is a singularity for $x=1$. Is there any series that isolates the singularity there and is accurate with a few terms ?