The following table sets forth the calculations of basic and diluted earnings per share: | | | | | | | | | | | | | | | | | | For the Three Months Ended September 30, | | For the Nine Months Ended September 30, | | 2012 | | 2011 | | 2012 | | 2011 | | (in thousands, except per share amounts) | Net income (loss) | $ | (38,336 | ) | | $ | 230,097 |
| | $ | 12,889 |
| | $ | 336,127 |
| Basic weighted-average common shares outstanding | 65,745 |
| | 63,904 |
| | 64,815 |
| | 63,665 |
| Add: dilutive effect of stock options, unvested RSUs, and contingent PSUs | — |
| | 2,062 |
| | 1,870 |
| | 2,589 |
| Add: dilutive effect of 3.50% Senior Convertible Notes | — |
| | 1,420 |
| | 658 |
| | 1,136 |
| Diluted weighted-average common shares outstanding | 65,745 |
| | 67,386 |
| | 67,343 |
| | 67,390 |
| Basic net income (loss) per common share | $ | (0.58 | ) | | $ | 3.60 |
| | $ | 0.20 |
| | $ | 5.28 |
| Diluted net income (loss) per common share | $ | (0.58 | ) | | $ | 3.41 |
| | $ | 0.19 |
| | $ | 4.99 |
|
|