v3.5.0.2

Investments (Tables) | 3 Months Ended
--- | ---
Oct. 29, 2016
Investments, Debt and Equity Securities [Abstract] |
Summary Of Available-For-Sale Investments | The following tables summarize the Company’s available-for-sale investments (in millions):
October 29, 2016 | Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Fair Value
Fixed income securities: |  |  |  |  |  |  |
U.S. government securities | $ | 25,905 |  |  | $ | 24 |  |  | $ | (33 | ) |  | $ | 25,896 |
U.S. government agency securities | 2,619 |  |  | 4 |  |  | (1 | ) |  | 2,622 |
Non-U.S. government and agency securities | 1,104 |  |  | 1 |  |  | (1 | ) |  | 1,104 |
Corporate debt securities | 29,046 |  |  | 177 |  |  | (60 | ) |  | 29,163 |
U.S. agency mortgage-backed securities | 2,069 |  |  | 16 |  |  | (2 | ) |  | 2,083 |
Total fixed income securities | 60,743 |  |  | 222 |  |  | (97 | ) |  | 60,868 |
Publicly traded equity securities | 1,225 |  |  | 346 |  |  | (54 | ) |  | 1,517 |
Total (1) | $ | 61,968 |  |  | $ | 568 |  |  | $ | (151 | ) |  | $ | 62,385 |
July 30, 2016 | Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Fair Value
Fixed income securities: |  |  |  |  |  |  |
U.S. government securities | $ | 26,473 |  |  | $ | 73 |  |  | $ | (2 | ) |  | $ | 26,544 |
U.S. government agency securities | 2,809 |  |  | 8 |  |  | — |  |  | 2,817 |
Non-U.S. government and agency securities | 1,096 |  |  | 4 |  |  | — |  |  | 1,100 |
Corporate debt securities | 24,044 |  |  | 263 |  |  | (15 | ) |  | 24,292 |
U.S. agency mortgage-backed securities | 1,846 |  |  | 22 |  |  | — |  |  | 1,868 |
Total fixed income securities | 56,268 |  |  | 370 |  |  | (17 | ) |  | 56,621 |
Publicly traded equity securities | 1,211 |  |  | 333 |  |  | (40 | ) |  | 1,504 |
Total (1) | $ | 57,479 |  |  | $ | 703 |  |  | $ | (57 | ) |  | $ | 58,125 |
(1) Includes investments that were pending settlement as of the respective fiscal years. The net unsettled investment purchases were $328 million and $654 million as of October 29, 2016 and July 30, 2016, respectively.
Gross Realized Gains And Gross Realized Losses Related To Available-For-Sale Investment | The following table presents the gross realized gains and gross realized losses related to the Company’s available-for-sale investments (in millions):
| Three Months Ended
| October 29, 2016 |  | October 24, 2015
Gross realized gains | $ | 30 |  |  | $ | 35 |
Gross realized losses | (15 | ) |  | (36 | )
Total | $ | 15 |  |  | $ | (1 | )
The following table presents the realized net gains (losses) related to the Company’s available-for-sale investments by security type (in millions):
| Three Months Ended
| October 29, 2016 |  | October 24, 2015
Net gains/(losses) on investments in publicly traded equity securities | $ | 5 |  |  | $ | (9 | )
Net gains/(losses) on investments in fixed income securities | 10 |  |  | 8 |
Total | $ | 15 |  |  | $ | (1 | )
Available-For-Sale Investments With Gross Unrealized Losses | The following tables present the breakdown of the available-for-sale investments with gross unrealized losses and the duration that those losses had been unrealized at October 29, 2016 and July 30, 2016 (in millions):
| UNREALIZED LOSSES LESS THAN 12 MONTHS |  | UNREALIZED LOSSES 12 MONTHS OR GREATER |  | TOTAL
October 29, 2016 | Fair Value |  | Gross Unrealized Losses |  | Fair Value |  | Gross Unrealized Losses |  | Fair Value |  | Gross Unrealized Losses
Fixed income securities: |  |  |  |  |  |  |  |  |  |  |
U.S. government securities | $ | 11,766 |  |  | $ | (33 | ) |  | $ | 100 |  |  | $ | — |  |  | $ | 11,866 |  |  | $ | (33 | )
U.S. government agency securities | 596 |  |  | (1 | ) |  | — |  |  | — |  |  | 596 |  |  | (1 | )
Non-U.S. government and agency securities | 498 |  |  | (1 | ) |  | — |  |  | — |  |  | 498 |  |  | (1 | )
Corporate debt securities | 9,013 |  |  | (57 | ) |  | 572 |  |  | (3 | ) |  | 9,585 |  |  | (60 | )
U.S. agency mortgage-backed securities | 594 |  |  | (2 | ) |  | — |  |  | — |  |  | 594 |  |  | (2 | )
Total fixed income securities | 22,467 |  |  | (94 | ) |  | 672 |  |  | (3 | ) |  | 23,139 |  |  | (97 | )
Publicly traded equity securities | 291 |  |  | (53 | ) |  | 3 |  |  | (1 | ) |  | 294 |  |  | (54 | )
Total | $ | 22,758 |  |  | $ | (147 | ) |  | $ | 675 |  |  | $ | (4 | ) |  | $ | 23,433 |  |  | $ | (151 | )
| UNREALIZED LOSSES LESS THAN 12 MONTHS |  | UNREALIZED LOSSES 12 MONTHS OR GREATER |  | TOTAL
July 30, 2016 | Fair Value |  | Gross Unrealized Losses |  | Fair Value |  | Gross Unrealized Losses |  | Fair Value |  | Gross Unrealized Losses
Fixed income securities: |  |  |  |  |  |  |  |  |  |  |
U.S. government securities | $ | 2,414 |  |  | $ | (2 | ) |  | $ | — |  |  | $ | — |  |  | $ | 2,414 |  |  | $ | (2 | )
U.S. government agency securities | 144 |  |  | — |  |  | — |  |  | — |  |  | 144 |  |  | — |
Non-U.S. government and agency securities | 61 |  |  | — |  |  | — |  |  | — |  |  | 61 |  |  | — |
Corporate debt securities | 2,499 |  |  | (7 | ) |  | 1,208 |  |  | (8 | ) |  | 3,707 |  |  | (15 | )
U.S. agency mortgage-backed securities | 174 |  |  | — |  |  | — |  |  | — |  |  | 174 |  |  | — |
Total fixed income securities | 5,292 |  |  | (9 | ) |  | 1,208 |  |  | (8 | ) |  | 6,500 |  |  | (17 | )
Publicly traded equity securities | 188 |  |  | (40 | ) |  | — |  |  | — |  |  | 188 |  |  | (40 | )
Total | $ | 5,480 |  |  | $ | (49 | ) |  | $ | 1,208 |  |  | $ | (8 | ) |  | $ | 6,688 |  |  | $ | (57 | )
Maturities of Fixed Income Securities | The following table summarizes the maturities of the Company’s fixed income securities as of October 29, 2016 (in millions):
| Amortized Cost |  | Fair Value
Less than 1 year | $ | 12,967 |  |  | $ | 12,977 |
Due in 1 to 2 years | 17,042 |  |  | 17,071 |
Due in 2 to 5 years | 25,125 |  |  | 25,230 |
Due after 5 years | 3,540 |  |  | 3,507 |
Mortgage-backed securities with no single maturity | 2,069 |  |  | 2,083 |
Total | $ | 60,743 |  |  | $ | 60,868 |
Equity Method and Cost Method Investments | For such investments that were accounted for under the equity and cost method as of October 29, 2016 and July 30, 2016, the amounts are summarized in the following table (in millions):
| October 29, 2016 |  | July 30, 2016
Equity method investments | $ | 162 |  |  | $ | 174 |
Cost method investments | 829 |  |  | 829 |
Total | $ | 991 |  |  | $ | 1,003 |

X
- Definition Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=66011266&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation of available-for-sale securities from cost basis to fair value. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_ScheduleOfRealizedGainLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27290-111563 + Details
Name: | us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration