DERIVATIVES (Tables)
12 Months Ended
Oct. 31, 2017
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Aggregated notional amounts by currency and designation
The aggregated notional amounts by currency and designation as of October 31, 2017 were as follows:
 
 
Derivatives Designated as
Cash Flow Hedges
 
Derivatives
Not
Designated
as Hedging
Instruments
 
 
Forward
Contracts USD
 
Forward
Contracts USD
Currency
 
Buy/(Sell)
 
Buy/(Sell)
 
 
(in millions)
Euro
 
$
(73
)
 
$
85

British Pound
 
(42
)
 
12

Canadian Dollar
 
(28
)
 
4

Australian Dollars
 
4

 
16

Malaysian Ringgit
 

 
(3
)
Japanese Yen
 
(55
)
 
5

Danish Krone
 

 
17

Korean Won
 
(38
)
 

Singapore Dollar
 
11

 

Swiss Franc
 

 
34

Other
 

 
(20
)
 
 
$
(221
)
 
$
150

Gross fair values and balance sheet location of derivative instruments held in the consolidated balance sheet
The gross fair values and balance sheet location of derivative instruments held in the consolidated balance sheet as of October 31, 2017 and 2016 were as follows:

Fair Values of Derivative Instruments
Asset Derivatives
 
Liability Derivatives
 
 
Fair Value
 
 
 
Fair Value
Balance Sheet Location
 
October 31,
2017
 
October 31,
2016
 
Balance Sheet Location
 
October 31,
2017
 
October 31,
2016
(in millions)
Derivatives designated as hedging instruments:
 
 
 
 
 
 
 
 
 
 
Cash flow hedges
 
 
 
 
 
 
 
 
 
 
Foreign exchange contracts
 
 
 
 
 
 
 
 
 
 
Other current assets
 
$
2

 
$
5

 
Other accrued liabilities
 
$
2

 
$
3

 
 
$
2

 
$
5

 
 
 
$
2

 
$
3

Derivatives not designated as hedging instruments:
 
 
 
 
 
 
 
 
 
 
Foreign exchange contracts
 
 
 
 
 
 
 
 
 
 
Other current assets
 
$
2

 
$
4

 
Other accrued liabilities
 
$
4

 
$
5

Total derivatives
 
$
4

 
$
9

 
 
 
$
6

 
$
8

Effect of derivative instruments for foreign exchange contracts in the consolidated statement of operations
The effect of derivative instruments for foreign exchange contracts designated as hedging instruments and not designated as hedging instruments in our consolidated statement of operations were as follows:

 
2017
 
2016
 
2015
 
(in millions)
Derivatives designated as hedging instruments:
 
 
 
 
 
Cash Flow Hedges
 
 
 
 
 
Loss on interest rate swaps recognized in other comprehensive income (loss)
$

 
$
(9
)
 
$

Gain (loss) recognized in accumulated other comprehensive income (loss)
$

 
$
(1
)
 
$
11

Gain (loss) reclassified from accumulated other comprehensive income (loss) into cost of sales
$
1

 
$
(3
)
 
$
18

Derivatives not designated as hedging instruments:
 
 
 
 
 
Gain (loss) recognized in other income (expense), net within continuing operations
$
5

 
$
1

 
$
(21
)