XML 37 R20.htm IDEA: XBRL DOCUMENT v3.20.1
Net Income (Loss) per Ordinary Share
3 Months Ended
Mar. 31, 2020
Earnings Per Share [Abstract]  
Net Income (Loss) per Ordinary Share Net Income (Loss) per Ordinary Share
Basic net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding. Diluted net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding and potentially dilutive ordinary shares outstanding.
Basic and diluted net income (loss) per ordinary share were computed as follows (in thousands, except per share amounts): 
 
Three Months Ended
March 31,
 
2020
 
2019
Numerator:
 
 
 
Net income (loss)
$
(157,833
)
 
$
85,201

Denominator:
 
 
 
Weighted-average ordinary shares used in per share calculations - basic
55,956

 
57,206

Dilutive effect of employee equity incentive and purchase plans

 
875

Weighted-average ordinary shares used in per share calculations - diluted
55,956

 
58,081

 
 
 
 
Net income (loss) per ordinary share:
 
 
 
Basic
$
(2.82
)
 
$
1.49

Diluted
$
(2.82
)
 
$
1.47


Potentially dilutive ordinary shares from our employee equity incentive and purchase plans and the Exchangeable Senior Notes are determined by applying the treasury stock method to the assumed exercise of share options, the assumed vesting of outstanding restricted stock units, or RSUs, the assumed issuance of ordinary shares under our employee stock purchase plan, or ESPP, and the assumed issuance of ordinary shares upon exchange of the Exchangeable Senior Notes. The potential issue of ordinary shares issuable upon exchange of the Exchangeable Senior Notes had no effect on diluted net income (loss) per ordinary share because the average price of our ordinary shares for the three months ended March 31, 2020 and 2019 did not exceed the effective exchange prices per ordinary share of the Exchangeable Senior Notes.
The following table represents the weighted-average ordinary shares that were excluded from the calculation of diluted net income (loss) per ordinary share for the periods presented because including them would have an anti-dilutive effect (in thousands): 
 
Three Months Ended
March 31,
 
2020
 
2019
Exchangeable Senior Notes
5,504

 
5,504

Options, RSUs and ESPP
5,611

 
4,988