| Schedule of Computation of Basic and Diluted Net Earnings (Loss) Per Share |
The following table presents the computation of basic and diluted net earnings per share for the periods presented (in thousands, except per share data):
| |
|
Three months ended
June 30,
|
|
|
Six months ended
June 30,
|
|
| |
|
2018
|
|
|
2017
|
|
|
2018
|
|
|
2017
|
|
| |
|
(unaudited)
|
|
|
(unaudited)
|
|
|
Numerator:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income
|
|
$
|
34,568
|
|
|
$
|
22,524
|
|
|
$
|
70,254
|
|
|
$
|
36,699
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Denominator:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares used in computing net earnings per share of common stock, basic
|
|
|
45,216,253
|
|
|
|
41,700,399
|
|
|
|
44,726,382
|
|
|
|
41,525,285
|
|
|
Effect of stock-based awards
|
|
|
3,075,027
|
|
|
|
3,131,191
|
|
|
|
3,258,435
|
|
|
|
2,810,236
|
|
|
Shares used in computing net earnings per share of common stock, diluted
|
|
|
48,291,280
|
|
|
|
44,831,590
|
|
|
|
47,984,817
|
|
|
|
44,335,521
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic net income per share
|
|
$
|
0.76
|
|
|
$
|
0.54
|
|
|
$
|
1.57
|
|
|
$
|
0.88
|
|
|
Diluted net income per share
|
|
$
|
0.72
|
|
|
$
|
0.50
|
|
|
$
|
1.46
|
|
|
$
|
0.83
|
|
|