v3.25.2
Stockholders' Equity - Components of AOCI (Details) - USD ($)
$ in Millions
9 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period $ 24,880  
Balance at end of period 24,467  
Net unrealized gains (losses) on available-for-sale securities    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period 8 $ 0
Other comprehensive income (loss) before reclassifications (5) 6
Reclassifications of losses into earnings 0 0
Tax benefit (provision) 0 0
Balance at end of period 3 6
Net unrealized (losses) gains on cash flow hedges    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (16) 61
Other comprehensive income (loss) before reclassifications (189) (69)
Reclassifications of losses into earnings 87 2
Tax benefit (provision) 16 15
Balance at end of period (102) 9
Unrealized components of defined benefit plans    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (2,342) (2,507)
Other comprehensive income (loss) before reclassifications (10) (2)
Reclassifications of losses into earnings 98 103
Tax benefit (provision) (16) (12)
Balance at end of period (2,270) (2,418)
Cumulative translation adjustment    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (627) (638)
Other comprehensive income (loss) before reclassifications (28) (17)
Reclassifications of losses into earnings 0 0
Tax benefit (provision) 0 1
Balance at end of period (655) (654)
Accumulated other comprehensive loss    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (2,977) (3,084)
Other comprehensive income (loss) before reclassifications (232) (82)
Reclassifications of losses into earnings 185 105
Tax benefit (provision) 0 4
Balance at end of period $ (3,024) $ (3,057)