v3.26.1
Stockholders' Equity - Schedule of Components of Accumulated Other Comprehensive Loss, Net of Taxes (Details) - USD ($)
$ in Millions
6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period $ 24,754  
Balance at end of period 25,353  
Net unrealized gains (losses) on available-for-sale securities    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period 6 $ 8
Other comprehensive loss before reclassifications (2) (6)
Reclassifications of losses into earnings 0 0
Tax provision 0 0
Balance at end of period 4 2
Net unrealized (losses) gains on cash flow hedges    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (26) (16)
Other comprehensive loss before reclassifications (65) (195)
Reclassifications of losses into earnings 85 31
Tax provision (1) 30
Balance at end of period (7) (150)
Unrealized components of defined benefit plans    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (2,058) (2,342)
Other comprehensive loss before reclassifications (1) (20)
Reclassifications of losses into earnings 51 62
Tax provision (11) (6)
Balance at end of period (2,019) (2,306)
Cumulative translation adjustment    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (670) (627)
Other comprehensive loss before reclassifications (23) (12)
Reclassifications of losses into earnings 0 0
Tax provision (2) (1)
Balance at end of period (695) (640)
Accumulated other comprehensive loss    
Components of accumulated other comprehensive loss, net of taxes    
Balance at beginning of period (2,748) (2,977)
Other comprehensive loss before reclassifications (91) (233)
Reclassifications of losses into earnings 136 93
Tax provision (14) 23
Balance at end of period $ (2,717) $ (3,094)