The following table sets forth the computation of basic and diluted earnings per share (shares in thousands): | | | | | | | | | | | | | | Year Ended December 31, | | 2014 | | 2013 | | 2012 | Numerator: | | | | | | Net income available to common stockholders | $ | 540 |
| | $ | 387 |
| | $ | 75 |
| Denominator: | | | | | | Denominator for basic earnings per share—weighted-average common shares | 97,489 |
| | 93,436 |
| | 82,960 |
| Effect of dilutive securities: | | | | | | Employee stock options and warrants | 394 |
| | 504 |
| | 720 |
| Convertible subordinated notes—4 percent | 6,386 |
| | 11,769 |
| | 10,632 |
| Restricted stock units | 687 |
| | 582 |
| | 536 |
| Denominator for diluted earnings per share—adjusted weighted-average common shares | 104,956 |
| | 106,291 |
| | 94,848 |
| Basic earnings per share | $ | 5.54 |
| | $ | 4.14 |
| | $ | 0.91 |
| Diluted earnings per share | $ | 5.15 |
| | $ | 3.64 |
| | $ | 0.79 |
|
|