XML 115 R103.htm IDEA: XBRL DOCUMENT v3.8.0.1
Comprehensive Income (Loss) (Reclassification Out of Other Comprehensive Income) (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jan. 27, 2018
Jan. 28, 2017
Jan. 27, 2018
Jan. 28, 2017
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Total amounts reclassified out of AOCI $ 72 $ (56) $ 117 $ (53)
Cumulative translation adjustment and actuarial gains and losses        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Cumulative translation adjustment and actuarial gains and losses (4) 1 (5) 1
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 58 (30) 91 (15)
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 14 (21) 24 (30)
Cost of sales—service 4 (6) 7 (9)
Net unrealized gains and losses on cash flow hedging instruments $ 18 $ (27) $ 31 $ (39)