XML 22 R11.htm IDEA: XBRL DOCUMENT v3.10.0.1
Earnings (Loss) Per Share
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
Earnings (Loss) Per Share
Earnings (Loss) Per Share
Basic earnings (loss) per share is calculated by dividing the net income (loss) by the weighted average number of common shares outstanding during the period. Diluted earnings (loss) per share is calculated by dividing the earnings (loss) by the weighted average number of common shares and potentially dilutive securities outstanding during the period. Potentially dilutive common shares consist of incremental common shares issuable upon exercise of stock options, employee stock purchases, restricted stock and restricted stock units and shares issuable upon the conversion of convertible notes. The dilutive effect of outstanding shares is reflected in diluted earnings (loss) per share by application of the treasury stock method. This method includes consideration of the amounts to be paid by the employees and the amount of unrecognized stock-based compensation related to future services. No potential dilutive common shares are included in the computation of any diluted per share amount when a net loss is reported.
The following table sets forth the computation of basic and diluted net income (loss) per share:
 
Three Months Ended June 30,
 
Six Months Ended June 30,
 
2018
 
2017
 
2018
 
2017
Net income (loss) per share:
(In thousands, except per share amounts)
Numerator:
 

 
 

 
 
 
 
Net income (loss)
$
(15,357
)
 
$
2,605

 
$
(51,046
)
 
$
5,611

Denominator:
 
 
 
 
 
 
 
Weighted-average shares outstanding - basic
107,737

 
110,060

 
108,542

 
110,758

Effect of potential dilutive common shares

 
2,505

 

 
3,333

Weighted-average shares outstanding - diluted
107,737

 
112,565

 
108,542

 
114,091

Basic net income (loss) per share
$
(0.14
)
 
$
0.02

 
$
(0.47
)
 
$
0.05

Diluted net income (loss) per share
$
(0.14
)
 
$
0.02

 
$
(0.47
)
 
$
0.05

For the three months ended June 30, 2018 and 2017, options to purchase approximately 1.3 million and 2.0 million shares, respectively, and for the six months ended June 30, 2018 and 2017, options to purchase approximately 1.4 million and 2.0 million shares, respectively, were excluded from the calculation because they were anti-dilutive after considering proceeds from exercise and related unrecognized stock-based compensation expense. For the three and six months ended June 30, 2018, an additional 3.4 million and 3.7 million shares, respectively, were excluded from the weighted average dilutive shares because there was a net loss position for the periods.