CONSOLIDATED STATEMENT OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2015
Cash flows from operating activities:      
Net income $ 684 $ 462 $ 401
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 212 246 253
Share-based compensation 60 58 54
Deferred taxes 102 3 70
Excess and obsolete inventory related charges 24 20 30
Asset impairment charges 0 4 3
Impairment of equity method investments and loans 0 25 0
Other 7 15 16
Changes in assets and liabilities:      
Accounts receivable, net (81) (33) (24)
Inventory (61) (7) (24)
Accounts payable 2 (15) (26)
Employee compensation and benefits 38 15 8
Interest rate swap payments 0 (10) 0
Other assets and liabilities (98) 10 (249)
Net cash provided by operating activities 889 793 512
Cash flows from investing activities:      
Investments in property, plant and equipment (176) (139) (98)
Proceeds from the sale of property, plant and equipment 0 0 12
Proceeds from the sale of investment securities 0 1 0
Proceeds from divestitures 2 0 3
Payment to acquire cost method investment (1) (80) 0
Payment to acquire equity method investment 0 0 (1)
Payment in exchange for convertible note (1) (1) (2)
Loan to equity method investment 0 (3) 0
Change in restricted cash, cash equivalents and investments, net (1) 245 (240)
Acquisitions of businesses and intangible assets, net of cash acquired (128) (261) (74)
Net cash used in investing activities (305) (238) (400)
Cash flows from financing activities:      
Issuance of common stock under employee stock plans 66 62 58
Payment of taxes related to net share settlement of equity awards (14) (6) (13)
Treasury stock repurchases (194) (434) (267)
Payment of dividends (170) (150) (133)
Issuance of senior notes 0 299 0
Debt issuance costs 0 (2) 0
Proceeds from debts and credit facility 400 255 0
Repayments of debt and credit facility (290) (292) 0
Net transfer of cash and cash equivalents to Keysight 0 0 (734)
Net cash used in financing activities (202) (268) (1,089)
Effect of exchange rate movements 7 (1) (48)
Net increase (decrease) in cash and cash equivalents 389 286 (1,025)
Cash and cash equivalents at beginning of year 2,289 2,003  
Cash and cash equivalents at end of year 2,678 2,289 2,003
Supplemental Cash Flow Information [Abstract]      
Income tax payments, net 63 67 129
Interest payments $ 82 $ 73 71
Continuing Operations      
Cash flows from financing activities:      
Cash and cash equivalents at beginning of year     2,218
Discontinued Operations      
Cash flows from financing activities:      
Cash and cash equivalents at beginning of year     $ 810