XML 116 R104.htm IDEA: XBRL DOCUMENT v3.7.0.1
Comprehensive Income (Reclassification out of other comprehensive income) (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 29, 2017
Apr. 30, 2016
Apr. 29, 2017
Apr. 30, 2016
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Total amounts reclassified out of AOCI $ (105) $ (16) $ (158) $ (45)
Cumulative translation adjustment and actuarial gains and losses        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
(Gains) losses reclassified out of AOCI (2) (1) (1) (2)
Reclassification out of Accumulated Other Comprehensive Income | Net unrealized gains and losses on available-for-sale investments        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Other income (loss), net (76) (6) (91) (26)
Reclassification out of Accumulated Other Comprehensive Income | Net unrealized gains and losses on cash flow hedging instruments | Cash Flow Hedging        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Operating expenses (20) (7) (50) (13)
Cost of sales—service (7) (2) (16) (4)
Net unrealized gains and losses on cash flow hedging instruments $ (27) $ (9) $ (66) $ (17)