Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 25, 2026 |
Apr. 26, 2025 |
Apr. 25, 2026 |
Apr. 26, 2025 |
|
| Statement of Comprehensive Income [Abstract] | ||||
| Change in net unrealized gains and losses, tax benefit (expense), available-for-sale investments | $ 3 | $ (10) | $ (4) | $ (27) |
| Net (gains) losses reclassified into earnings, tax (benefit) expense, available-for-sale investments | 0 | (8) | (2) | (31) |
| Change in unrealized gains and losses, tax benefit (expense), cash flow hedging instruments | (2) | 16 | (20) | 1 |
| Net (gains) losses reclassified into earnings, tax (benefit) expense, cash flow hedging instruments | 3 | 4 | 8 | 9 |
| Net change in cumulative translation adjustment and actuarial gains and losses, net of tax benefit (expense) | $ (2) | $ 0 | $ (3) | $ 0 |