U.S. stocks rose Tuesday as surprisingly strong earnings from Coca-Cola Co., Anadarko Petroleum Corp., CoinStar and Yum! Brands Inc. offset concerns Greece would default next month on a $19 billion euro bond redemption. Bonds prices fell, as did the dollar, while the euro and commodities gained.

Negotiations between Greek officials and the three groups, the European Commission, the European Central Bank and the International Monetary Fund, preparing to give the struggling nation $170 billion in rescue money, dominated financial and economic news as well as market sentiment. By day's end the talks had -- once again -- failed to reach a conclusion, heightening of a Greek default.

European and Asian stocks ended their trading sessions mixed.

Here's a look at how markets did:

Stocks. The Dow Jones Industrial Average climbed 33.07, or 0.26 percent, to 12,878.20. The tech-heavy Nasdaq Composite increased 2.09, or 0.07 percent, to 2,904.08, while the broader S&P 500 rose 2.72, or 0.2 percent, to 1,347.05.

Bonds. U.S. bonds extended losses as the government started three days of quarterly refunding. The benchmark 10-year Treasury fell, lifting its yield 3.4 percent to 1.97 percent.

Commodities. Crude oil jumped nearly two percent, while copper closed slightly higher. Gold and silver posted gains, but platinum and palladium settled lower.

Currencies. The Eurozone's single currency rose nearly a full percentage point to a two-month high, slightly above $1.32. Besides rising against the U.S. dollar, which was down about 0.7 percent against a basket of major currencies, the euro also gained on the Japanese yen. The Australian dollar was up, as were the Chilean and Mexican pesos.