XML 31 R19.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income per Share
3 Months Ended
Jan. 31, 2019
Earnings Per Share [Abstract]  
Net Income per Share
Net Income (Loss) per Share
The Company computes basic net income (loss) per share by dividing net income (loss) available to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net income per share reflects the dilution from potential common shares outstanding, such as stock options and unvested restricted stock units and awards, during the period using the treasury stock method.
The table below reconciles the weighted-average common shares used to calculate basic net income (loss) per share with the weighted-average common shares used to calculate diluted net income (loss) per share:
 
Three Months Ended 
 January 31,
 
2019
 
2018
 
(in thousands, except per share amounts)
Numerator:
 
 
 
Net income (loss)
$
153,514

 
$
(3,691
)
Denominator:
 
 
 
Weighted-average common shares for basic net income (loss) per share
149,288

 
149,441

Dilutive effect of potential common shares from equity-based compensation
3,373

 

Weighted-average common shares for diluted net income (loss) per share
152,661

 
149,441

Net income (loss) per share:
 
 
 
Basic
$
1.03

 
$
(0.02
)
Diluted
$
1.01

 
$
(0.02
)
Anti-dilutive employee stock-based awards excluded(1)
1,601

 
4,627


(1)
These employee stock-based awards were anti-dilutive for the respective periods and are excluded in calculating diluted net income (loss) per share. While such awards were anti-dilutive for the respective periods, they could be dilutive in the future.