v3.19.1

Derivative Instruments (Effect of Derivative Instruments Not Designated as Hedges on Consolidated Statement of Operations Summary) (Details) - Derivatives not designated as hedging instruments: - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
Apr. 27, 2019 | Apr. 28, 2018 | Apr. 27, 2019 | Apr. 28, 2018
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | $ 14 | $ (91) | $ (57) | $ 37
Foreign currency derivatives | Other income (loss), net |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | (29) | (53) | (57) | 20
Total return swaps—deferred compensation | Other income (loss), net |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | (4) | (3) | (12) | (8)
Total return swaps—deferred compensation | Operating expenses |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | 42 | (26) | 9 | 28
Total return swaps—deferred compensation | Cost of sales | Product |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | 2 | (1) | 1 | 0
Total return swaps—deferred compensation | Cost of sales | Service |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | 2 | (1) | 0 | 1
Equity derivatives | Other income (loss), net |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
GAINS (LOSSES) FOR THE PERIOD | $ 1 | $ (7) | $ 2 | $ (4)

X
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959 + Details
Name: | us-gaap_DerivativeGainLossOnDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_TotalReturnSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OperatingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_EquityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |