LONG-TERM DEBT (Tables)
12 Months Ended
Oct. 31, 2017
Debt Disclosure [Abstract]  
Schedule of Interest Rate Swaps pertaining to Senior Notes offered
The following table summarizes the company's long-term senior notes and the related interest rate swaps:

 
October 31, 2017
 
October 31, 2016
 
Amortized
Principal
 
Swap
 
Total
 
Amortized
Principal
 
Swap
 
Total
 
(in millions)
2017 Senior Notes
$

 
$

 
$

 
$
100

 
$
1

 
101

2020 Senior Notes
499

 
11

 
510

 
498

 
15

 
513

2022 Senior Notes
398

 

 
398

 
398

 

 
398

2023 Senior Notes
596

 

 
596

 
595

 

 
595

2026 Senior Notes
297

 

 
297

 
297

 

 
297

Total
$
1,790

 
$
11

 
$
1,801

 
$
1,888

 
$
16

 
$
1,904