XML 140 R119.htm IDEA: XBRL DOCUMENT v3.21.2
Financial Instruments - Cash Equivalents and Available-for-Sale Investments (Details) - USD ($)
$ in Millions
Oct. 31, 2021
Oct. 31, 2020
Cash and Cash Equivalents [Line Items]    
Debt securities, amortized cost $ 149 $ 128
Gross Unrealized Gains 15 18
Debt securities, fair value 164 146
Total cash equivalents and available-for sale investments, cost basis 2,450 2,234
Total cash equivalents and available-for-sale investments 2,465 2,252
Foreign bonds    
Cash and Cash Equivalents [Line Items]    
Debt securities, amortized cost 108 108
Gross Unrealized Gains 14 17
Debt securities, fair value 122 125
Other debt securities    
Cash and Cash Equivalents [Line Items]    
Debt securities, amortized cost 41 20
Gross Unrealized Gains 1 1
Debt securities, fair value 42 21
Fair Value    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents 2,301 2,106
Fair Value | Time deposits    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents 806 939
Fair Value | Money market funds    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents 1,495 1,167
Cost    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents 2,301 2,106
Cost | Time deposits    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents 806 939
Cost | Money market funds    
Cash and Cash Equivalents [Line Items]    
Total cash equivalents $ 1,495 $ 1,167