handle toPolar special case for r == 0