| | | | | | | | | | | | | | | | | | | | | | | |
| Three months ended July 31 | | Nine months ended July 31 |
| 2026 | | 2025 | | 2026 | | 2025 |
| In millions |
Other comprehensive income (loss), net of taxes: | | | | | | | |
| Unrealized components of available-for-sale debt securities | | | | | | | |
| Balance at the beginning of period | $ | 30 | | | $ | 20 | | | $ | 29 | | | $ | 14 | |
| Unrealized gains arising during the period | 1 | | | 5 | | | 2 | | | 11 | |
| | | | | | | |
| Tax effects on change in unrealized components of available-for-sale securities | — | | | (1) | | | — | | | (1) | |
| Unrealized components of available-for-sale debt securities, net of taxes | 1 | | | 4 | | | 2 | | | 10 | |
| Balance at the end of period | $ | 31 | | | $ | 24 | | | $ | 31 | | | $ | 24 | |
| | | | | | | |
| Unrealized components of cash flow hedges | | | | | | | |
| Balance at the beginning of period | $ | (81) | | | $ | (393) | | | $ | (48) | | | $ | 47 | |
| Unrealized gains (losses) arising during the period | 141 | | | 59 | | | (6) | | | (301) | |
| Losses reclassified into earnings | 18 | | | 202 | | | 119 | | | 11 | |
| Tax effects on change in unrealized components of cash flow hedges | (28) | | | (61) | | | (15) | | | 50 | |
| Unrealized components of cash flow hedges, net of taxes | 131 | | | 200 | | | 98 | | | (240) | |
| Balance at the end of period | $ | 50 | | | $ | (193) | | | $ | 50 | | | $ | (193) | |
| | | | | | | |
| Unrealized components of defined benefit plans | | | | | | | |
| Balance at the beginning of period | $ | (476) | | | $ | (488) | | | $ | (450) | | | $ | (496) | |
| Unrealized gains (losses) arising during the period | 20 | | | (7) | | | (14) | | | (8) | |
Amortization of actuarial loss and prior service benefit | 5 | | | 5 | | | 14 | | | 15 | |
| Curtailments, settlements and other | 3 | | | 2 | | | 5 | | | 2 | |
| Tax effects on change in unrealized components of defined benefit plans | (4) | | | — | | | (7) | | | (1) | |
| Unrealized components of defined benefit plans, net of taxes | 24 | | | — | | | (2) | | | 8 | |
| Balance at the end of period | $ | (452) | | | $ | (488) | | | $ | (452) | | | $ | (488) | |
| | | | | | | |
| Cumulative translation adjustment | | | | | | | |
| Balance at the beginning of period | $ | 26 | | | $ | 18 | | | $ | 12 | | | $ | 1 | |
| Change in cumulative translation adjustment | (3) | | | (1) | | | 11 | | | 16 | |
| Tax effect on change in cumulative translation adjustment | — | | | (1) | | | — | | | (1) | |
| Cumulative translation adjustment, net of taxes | (3) | | | (2) | | | 11 | | | 15 | |
| Balance at the end of period | $ | 23 | | | $ | 16 | | | $ | 23 | | | $ | 16 | |
| | | | | | | |
| Other comprehensive income (loss) | $ | 153 | | | $ | 202 | | | $ | 109 | | | $ | (207) | |
| Accumulated other comprehensive loss | $ | (348) | | | $ | (641) | | | $ | (348) | | | $ | (641) | |