v3.26.1
Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments and Related Hedged Items in a Fair Value Hedging Relationship (Details) - Interest rate contracts - Income Statement Location [Axis]: us-gaap:NonoperatingIncomeExpense - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Gain/(loss) recognized in earnings on derivative instruments $ 0 $ 2 $ 1 $ 17
Gain/(loss) recognized in earnings on hedged item $ 0 $ (2) $ (1) $ (17)