Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 27, 2019 |
Apr. 28, 2018 |
Apr. 27, 2019 |
Apr. 28, 2018 |
|
| Statement of Comprehensive Income [Abstract] | ||||
| Change in net unrealized gains, tax benefit (expense) | $ (64) | $ 18 | $ (63) | $ (4) |
| Net (gains) losses reclassified into earnings, tax expense (benefit) | 5 | 3 | 4 | 28 |
| Change in unrealized gains and losses, tax benefit (expense) | (2) | 0 | 0 | (3) |
| Net (gains) losses reclassified into earnings, tax expense (benefit) | 0 | 3 | 0 | 7 |
| Net change in cumulative translation adjustment and actuarial gains and losses, tax benefit (expense) | $ (1) | $ 3 | $ (2) | $ (3) |