| | | | | | | | | | | | | | | | | | | | | | | |
| | Three months ended April 30 | | Six months ended April 30 |
| | 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 | | | $ | 18 | | | $ | 29 | | | $ | 14 | |
| Unrealized gains arising during the period | — | | | 2 | | | 1 | | | 6 | |
| | | | | | | |
| | | | | | | |
| Unrealized components of available-for-sale debt securities, net of taxes | — | | | 2 | | | 1 | | | 6 | |
| Balance at the end of period | $ | 30 | | | $ | 20 | | | $ | 30 | | | $ | 20 | |
| | | | | | | |
| Unrealized components of cash flow hedges | | | | | | | |
| Balance at the beginning of period | $ | (243) | | | $ | 282 | | | $ | (48) | | | $ | 47 | |
| Unrealized gains (losses) arising during the period | 106 | | | (692) | | | (147) | | | (360) | |
| (Gains) losses reclassified into earnings | 94 | | | (148) | | | 101 | | | (191) | |
| Tax effects on change in unrealized components of cash flow hedges | (38) | | | 165 | | | 13 | | | 111 | |
| Unrealized components of cash flow hedges, net of taxes | 162 | | | (675) | | | (33) | | | (440) | |
| Balance at the end of period | $ | (81) | | | $ | (393) | | | $ | (81) | | | $ | (393) | |
| | | | | | | |
| Unrealized components of defined benefit plans | | | | | | | |
| Balance at the beginning of period | $ | (471) | | | $ | (492) | | | $ | (450) | | | $ | (496) | |
| Unrealized (losses) arising during the period | — | | | (2) | | | (34) | | | (1) | |
Amortization of actuarial loss and prior service benefit | 5 | | | 5 | | | 9 | | | 10 | |
| Curtailments, settlements and other | (1) | | | 1 | | | 2 | | | — | |
| Tax effects on change in unrealized components of defined benefit plans | (9) | | | — | | | (3) | | | (1) | |
| Unrealized components of defined benefit plans, net of taxes | (5) | | | 4 | | | (26) | | | 8 | |
| Balance at the end of period | $ | (476) | | | $ | (488) | | | $ | (476) | | | $ | (488) | |
| | | | | | | |
| Cumulative translation adjustment | | | | | | | |
| Balance at the beginning of period | $ | 30 | | | $ | (12) | | | $ | 12 | | | $ | 1 | |
| Change in cumulative translation adjustment | (4) | | | 30 | | | 14 | | | 17 | |
| | | | | | | |
| Cumulative translation adjustment, net of taxes | (4) | | | 30 | | | 14 | | | 17 | |
| Balance at the end of period | $ | 26 | | | $ | 18 | | | $ | 26 | | | $ | 18 | |
| | | | | | | |
| Other comprehensive income (loss) | $ | 153 | | | $ | (639) | | | $ | (44) | | | $ | (409) | |
| Accumulated other comprehensive loss | $ | (501) | | | $ | (843) | | | $ | (501) | | | $ | (843) | |