XML 21 R11.htm IDEA: XBRL DOCUMENT v3.10.0.1
EARNINGS (LOSS) PER SHARE
6 Months Ended
Dec. 31, 2018
Earnings Per Share [Abstract]  
EARNINGS (LOSS) PER SHARE EARNINGS (LOSS) PER SHARE
The following table sets forth the computation of basic and diluted earnings (loss) per share for the periods indicated (in thousands, except per share data):
 Three Months Ended December 31, Six Months Ended December 31, 
 2018201720182017
Numerator: 
Net income (loss)$77,796 $(51,459)$163,499 $23,466 
Denominator: 
Weighted-average shares used in computing basic earnings (loss) per share71,225 77,654 72,499 78,895 
Add—dilutive potential common shares:
Stock options102 — 110 1,522 
Restricted stock units79 — 77 77 
Weighted-average shares used in computing diluted net income (loss) per share71,406 77,654 72,686 80,494 
Net income (loss) per share of common stock:
Basic$1.09 $(0.66)$2.26 $0.30 
Diluted$1.09 $(0.66)$2.25 $0.29 
The Company excludes potentially dilutive securities from its diluted net income per share calculation when their effect would be anti-dilutive to net income per share amounts. The following table summarizes the total potential shares of common stock that were excluded from the diluted per share calculation as including them would have been anti-dilutive for the period (in thousands):
 Three Months Ended December 31, Six Months Ended December 31, 
 2018201720182017
Restricted stock units