(In thousands, except per-share data)
GAAP1 | NON-GAAP2 | |||||||||||||||||||
Six Months | Six Months | |||||||||||||||||||
Q2 2018 | Q2 2017 | Q2 2018 | Q2 2017 | |||||||||||||||||
Revenue | $ | 1,206,331 | $ | 1,125,650 | $ | 1,206,331 | $ | 1,125,650 | ||||||||||||
Gross margin | 37.0 | % | 31.1 | % | 46.1 | % | 40.1 | % | ||||||||||||
Operating margin | 7.2 | % | (0.4 | )% | 21.0 | % | 13.9 | % | ||||||||||||
Net income (loss) | $ | 36,784 | $ | (59,919 | ) | $ | 225,260 | $ | 120,591 | |||||||||||
Diluted EPS (loss) | $ | 0.10 | $ | (0.18 | ) | $ | 0.60 | $ | 0.33 | |||||||||||