NET INCOME PER SHARE (Tables)
3 Months Ended
Jan. 31, 2015
Earnings Per Share [Abstract]  
Reconciliation of the numerators and denominators of the basic and diluted net income per share
The following is a reconciliation of the numerator and denominator of the basic and diluted net income per share computations for the periods presented below:
 
 
Three Months Ended
 
 
January 31,
 
 
2015
 
2014
 
 
(in millions)
Numerator:
 

 
 

 
Income from continuing operations
$
102

 
$
121

 
Income (loss) from discontinued operations
(30
)
 
74

 
Net income
$
72

 
$
195

 
Denominator:
 
 
 
 
Basic weighted-average shares
336

 
333

 
Potential common shares— stock options and other employee stock plans
2

 
5

 
Diluted weighted-average shares
338

 
338