XML 86 R44.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
NET INCOME (LOSS) PER SHARE (Tables)
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Net Income (Loss) Per Share
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
Year Ended December 31,
201920182017
Net income (loss)$375,446  $(38,453) $(62,813) 
Basic shares:
Weighted-average common shares outstanding425,728  406,313  380,921  
Weighted-average unvested shares(729) (582) (1,577) 
Weighted-average shares used to compute basic net income (loss) per share424,999  405,731  379,344  
Diluted shares:
Stock options and restricted stock units30,602  —  —  
Convertible senior notes—  —  —  
Common stock warrants10,432  —  —  
Employee stock purchase plan43  —  —  
Weighted-average shares used to compute diluted net income (loss) per share$466,076  $405,731  $379,344  
Net income (loss) per share:
Basic$0.88  $(0.09) $(0.17) 
Diluted$0.81  $(0.09) $(0.17) 
Schedule of Antidilutive Securities Excluded from Calculation of Diluted Net Income (Loss) Per Share
The following potential common shares were excluded from the calculation of diluted net income (loss) per share because their effect would have been anti-dilutive for the periods presented (in thousands):

Year Ended December 31,
201920182017
Stock options and restricted stock units13,867  60,589  68,588  
Common stock warrants19,820  25,798  19,173  
Convertible senior notes20,305  23,820  —  
Unvested shares728  582  1,300  
Employee stock purchase plan165  140  157  
Total anti-dilutive securities54,885  110,929  89,218