Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share (Details)

v3.10.0.1
Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Numerator:        
Net income (loss) $ 369,100 $ (134,319) $ 765,044 $ 146,617
Denominator:        
Weighted-average shares-basic, excluding unvested restricted stock units (in shares) 152,148 156,587 153,684 156,707
Effect of dilutive restricted stock units and options (in shares) 500 0 705 981
Weighted-average shares-diluted (in shares) 152,648 156,587 154,389 157,688
Basic net income (loss) per share (in dollars per share) $ 2.43 $ (0.86) $ 4.98 $ 0.94
Diluted net income (loss) per share (in dollars per share) $ 2.42 $ (0.86) $ 4.96 $ 0.93
Anti-dilutive securities excluded from the computation of diluted net income (loss) per share (in shares) 341 909 280 11