Updated operator<< to output +Inf and -Inf

Hi,
Testing pull requests