XML 31 R19.htm IDEA: XBRL DOCUMENT v3.10.0.1
Computation of (Loss) Earnings Per Share (Tables)
9 Months Ended
Sep. 30, 2018
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The following table reconciles net income (loss) and the weighted-average shares used in computing basic and diluted earnings per share in the respective periods (in thousands):
 
Three month ended September 30,
 
Nine months ended September 30,
 
2018
 
2017
 
2018
 
2017
Numerator:
 
 
 
 
 
 
 
Net income (loss) used for basic earnings per share
$
10,822

 
$
(5,525
)
 
$
41,704

 
$
(3,077
)
Interest expense on Convertible Senior Notes, net of tax
791

 

 
4,152

 

Net income (loss) used for diluted earnings per share, if-converted method
$
11,613

 
$
(5,525
)
 
$
45,856

 
$
(3,077
)
 
 
 
 
 
 
 
 
Basic weighted-average common shares outstanding
39,290

 
33,913

 
37,490

 
33,538

Potentially dilutive shares issuable from Convertible Senior Notes, if-converted
1,825

 

 
3,193

 

Potentially dilutive shares issuable from stock options and unvested RSUs
1,774

 

 
1,784

 

Diluted weighted-average common shares outstanding, if-converted
42,889

 
33,913

 
42,467

 
33,538

Potentially dilutive shares excluded from calculation due to anti-dilutive effect

 

 
161

 
1,121

Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]
The following table reconciles net income (loss) and the weighted-average shares used in computing basic and diluted earnings per share in the respective periods (in thousands):
 
Three month ended September 30,
 
Nine months ended September 30,
 
2018
 
2017
 
2018
 
2017
Numerator:
 
 
 
 
 
 
 
Net income (loss) used for basic earnings per share
$
10,822

 
$
(5,525
)
 
$
41,704

 
$
(3,077
)
Interest expense on Convertible Senior Notes, net of tax
791

 

 
4,152

 

Net income (loss) used for diluted earnings per share, if-converted method
$
11,613

 
$
(5,525
)
 
$
45,856

 
$
(3,077
)
 
 
 
 
 
 
 
 
Basic weighted-average common shares outstanding
39,290

 
33,913

 
37,490

 
33,538

Potentially dilutive shares issuable from Convertible Senior Notes, if-converted
1,825

 

 
3,193

 

Potentially dilutive shares issuable from stock options and unvested RSUs
1,774

 

 
1,784

 

Diluted weighted-average common shares outstanding, if-converted
42,889

 
33,913

 
42,467

 
33,538

Potentially dilutive shares excluded from calculation due to anti-dilutive effect

 

 
161

 
1,121