| Financial Instruments |
Financial Instruments Cash Equivalents and Available-for-Sale Investments Cash equivalents and available-for-sale investments were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of April 30, 2018 | | As of October 31, 2017 | | Cost | | Gross Unrealized Gain | | Gross Unrealized Loss | | Fair Value | | Cost | | Gross Unrealized Gain | | Gross Unrealized Loss | | Fair Value | | In millions | Cash Equivalents: | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Time deposits | $ | 1,653 |
| | $ | — |
| | $ | — |
| | $ | 1,653 |
| | $ | 1,159 |
| | $ | — |
| | $ | — |
| | $ | 1,159 |
| Money market funds | 3,391 |
| | — |
| | — |
| | 3,391 |
| | 5,592 |
| | — |
| | — |
| | 5,592 |
| Total cash equivalents | 5,044 |
| | — |
| | — |
| | 5,044 |
| | 6,751 |
| | — |
| | — |
| | 6,751 |
| Available-for-Sale Investments: | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Time deposits | 3 |
| | — |
| | — |
| | 3 |
| | — |
| | — |
| | — |
| | — |
| Foreign bonds | 121 |
| | 23 |
| | — |
| | 144 |
| | 183 |
| | 40 |
| | — |
| | 223 |
| Other debt securities | 28 |
| | — |
| | (2 | ) | | 26 |
| | 37 |
| | — |
| | (11 | ) | | 26 |
| Total available-for-sale investments | 152 |
| | 23 |
| | (2 | ) | | 173 |
| | 220 |
| | 40 |
| | (11 | ) | | 249 |
| Total cash equivalents and available-for-sale investments | $ | 5,196 |
| | $ | 23 |
| | $ | (2 | ) | | $ | 5,217 |
| | $ | 6,971 |
| | $ | 40 |
| | $ | (11 | ) | | $ | 7,000 |
|
As of April 30, 2018 and October 31, 2017, the carrying amount of cash equivalents approximated fair value due to the short period of time to maturity. Time deposits were primarily issued by institutions outside the U.S. as of April 30, 2018 and October 31, 2017. The estimated fair value of the available-for-sale investments may not be representative of values that will be realized in the future. Contractual maturities of investments in available-for-sale debt securities were as follows: | | | | | | | | | | April 30, 2018 | | Amortized Cost | | Fair Value | | In millions | Due in one year | $ | 3 |
| | $ | 3 |
| Due in more than five years | 149 |
| | 170 |
| Total | $ | 152 |
| | $ | 173 |
|
Equity securities in privately held companies that are accounted for as cost method investments are included in Long-term financing receivables and other assets in the Condensed Consolidated Balance Sheets. These investments amounted to $146 million and $149 million at April 30, 2018 and October 31, 2017, respectively. Investments in equity securities that are accounted for using the equity method are included in Investments in equity interests in the Condensed Consolidated Balance Sheets. These investments amounted to $2.5 billion at April 30, 2018 and October 31, 2017. Fair Value of Derivative Instruments in the Condensed Consolidated Balance Sheets The gross notional and fair value of derivative instruments in the Condensed Consolidated Balance Sheets were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of April 30, 2018 | | As of October 31, 2017 | | | | Fair Value | | | | Fair Value | | Outstanding Gross Notional | | Other Current Assets | | Long-Term Financing Receivables and Other Assets | | Other Accrued Liabilities | | Long-Term Other Liabilities | | Outstanding Gross Notional | | Other Current Assets | | Long-Term Financing Receivables and Other Assets | | Other Accrued Liabilities | | Long-Term Other Liabilities | | In millions | Derivatives designated as hedging instruments | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Fair value hedges: | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Interest rate contracts | $ | 9,500 |
| | $ | — |
| | $ | — |
| | $ | 17 |
| | $ | 335 |
| | $ | 9,500 |
| | $ | — |
| | $ | — |
| | $ | 16 |
| | $ | 126 |
| Cash flow hedges: | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Foreign currency contracts | 8,381 |
| | 90 |
| | 24 |
| | 105 |
| | 106 |
| | 7,202 |
| | 105 |
| | 45 |
| | 101 |
| | 70 |
| Net investment hedges: | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Foreign currency contracts | 1,772 |
| | 22 |
| | 12 |
| | 33 |
| | 20 |
| | 1,944 |
| | 35 |
| | 10 |
| | 36 |
| | 41 |
| Total derivatives designated as hedging instruments | 19,653 |
| | 112 |
| | 36 |
| | 155 |
| | 461 |
| | 18,646 |
| | 140 |
| | 55 |
| | 153 |
| | 237 |
| Derivatives not designated as hedging instruments | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Foreign currency contracts | 7,874 |
| | 88 |
| | 2 |
| | 50 |
| | 12 |
| | 9,552 |
| | 61 |
| | 3 |
| | 79 |
| | 8 |
| Other derivatives | 89 |
| | 1 |
| | — |
| | — |
| | — |
| | 96 |
| | 1 |
| | — |
| | — |
| | — |
| Total derivatives not designated as hedging instruments | 7,963 |
| | 89 |
| | 2 |
| | 50 |
| | 12 |
| | 9,648 |
| | 62 |
| | 3 |
| | 79 |
| | 8 |
| Total derivatives | $ | 27,616 |
| | $ | 201 |
| | $ | 38 |
| | $ | 205 |
| | $ | 473 |
| | $ | 28,294 |
| | $ | 202 |
| | $ | 58 |
| | $ | 232 |
| | $ | 245 |
|
Offsetting of Derivative Instruments The Company recognizes all derivative instruments on a gross basis in the Condensed Consolidated Balance Sheets. The Company's derivative instruments are subject to master netting arrangements and collateral security arrangements. The Company does not offset the fair value of its derivative instruments against the fair value of cash collateral posted under collateral security agreements. As of April 30, 2018 and October 31, 2017, information related to the potential effect of the Company's use of the master netting agreements and collateral security agreements was as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of April 30, 2018 | | In the Condensed Consolidated Balance Sheets | | | | | | (i) | | (ii) | | (iii) = (i)–(ii) | | (iv) | | (v) | | | | (vi) = (iii)–(iv)–(v) | | | | | | | | Gross Amounts Not Offset | | | | | | Gross Amount Recognized | | Gross Amount Offset | | Net Amount Presented | | Derivatives | | Financial Collateral | | | | Net Amount | | In millions | Derivative assets | $ | 239 |
| | $ | — |
| | $ | 239 |
| | $ | 208 |
| | $ | 11 |
| | (1) | | $ | 20 |
| Derivative liabilities | $ | 678 |
| | $ | — |
| | $ | 678 |
| | $ | 208 |
| | $ | 490 |
| | (2) | | $ | (20 | ) |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As of October 31, 2017 | | In the Condensed Consolidated Balance Sheets | | | | | | (i) | | (ii) | | (iii) = (i)–(ii) | | (iv) | | (v) | | | | (vi) = (iii)–(iv)–(v) | | | | | | | | Gross Amounts Not Offset | | | | | | Gross Amount Recognized | | Gross Amount Offset | | Net Amount Presented | | Derivatives | | Financial Collateral | | | | Net Amount | | In millions | Derivative assets | $ | 260 |
| | $ | — |
| | $ | 260 |
| | $ | 209 |
| | $ | 34 |
| | (1) | | $ | 17 |
| Derivative liabilities | $ | 477 |
| | $ | — |
| | $ | 477 |
| | $ | 209 |
| | $ | 242 |
| | (3) | | $ | 26 |
|
| | (1) | Represents the cash collateral posted by counterparties as of the respective reporting date for the Company's asset position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date. |
| | (2) | Represents the collateral posted by the Company in cash or through the re-use of counterparty cash collateral as of the respective reporting date for the Company's liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date. Of the $490 million of collateral posted, $480 million was in cash and, $10 million was through re-use of counterparty collateral. |
| | (3) | Represents the collateral posted by the Company in cash or through the re-use of counterparty cash collateral as of the respective reporting date for the Company's liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date. Of the $242 million of collateral posted, $220 million was in cash and, $22 million was through re-use of counterparty collateral. |
Effect of Derivative Instruments on the Condensed Consolidated Statements of Earnings The pre-tax effect of derivative instruments and related hedged items in a fair value hedging relationship for the three and six months ended April 30, 2018 and 2017 were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | Gains (Losses) Recognized in Earnings on Derivative and Related Hedged Item | | | Derivative Instrument | | Location | | Three months ended April 30, 2018 | | Six months ended April 30, 2018 | | Hedged Item | | Location | | Three months ended April 30, 2018 | | Six months ended April 30, 2018 | | | | | In millions | | | | | | In millions | Interest rate contracts | | Interest and other, net | | $ | (72 | ) | | $ | (210 | ) | | Fixed-rate debt | | Interest and other, net | | $ | 72 |
| | $ | 210 |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | Gains (Losses) Recognized in Earnings on Derivative and Related Hedged Item | | | Derivative Instrument | | Location | | Three months ended April 30, 2017 | | Six months ended April 30, 2017 | | Hedged Item | | Location | | Three months ended April 30, 2017 | | Six months ended April 30, 2017 | | | | | In millions | | | | | | In millions | Interest rate contracts | | Interest and other, net | | $ | 37 |
| | $ | (225 | ) | | Fixed-rate debt | | Interest and other, net | | $ | (37 | ) | | $ | 225 |
|
The pre-tax effect of derivative instruments in cash flow and net investment hedging relationships for the three and six months ended April 30, 2018 were as follows: | | | | | | | | | | | | | | | | | | | | Gains (Losses) Recognized in Other Comprehensive Income ("OCI") on Derivatives (Effective Portion) | | Gains (Losses) Reclassified from Accumulated OCI Into Earnings (Effective Portion) | | Three months ended April 30, 2018 | | Six months ended April 30, 2018 | | Location | | Three months ended April 30, 2018 | | Six months ended April 30, 2018 | | In millions | | | | In millions | Cash flow hedges: | |
| | | | | | |
| | | Foreign currency contracts | $ | 117 |
| | $ | (62 | ) | | Net revenue | | $ | (65 | ) | | $ | (111 | ) | Foreign currency contracts | (35 | ) | | (37 | ) | | Interest and other, net | | (26 | ) | | (10 | ) | Total cash flow hedges | $ | 82 |
| | $ | (99 | ) | | Net earnings from continuing operations | | $ | (91 | ) | | $ | (121 | ) | Net investment hedges: | |
| | | | | | |
| | | Foreign currency contracts | $ | 57 |
| | $ | (25 | ) | | Interest and other, net | | $ | — |
| | $ | — |
|
The pre-tax effect of derivative instruments in cash flow and net investment hedging relationships for the three and six months ended April 30, 2017 was as follows: | | | | | | | | | | | | | | | | | | | | Gains (Losses) Recognized in Other Comprehensive Income ("OCI") on Derivatives (Effective Portion) | | Gains (Losses) Reclassified from Accumulated OCI Into Earnings (Effective Portion) | | Three months ended April 30, 2017 | | Six months ended April 30, 2017 | | Location | | Three months ended April 30, 2017 | | Six months ended April 30, 2017 | | In millions | | | | In millions | Cash flow hedges: | |
| | | | | | |
| | | Foreign currency contracts | $ | (55 | ) | | $ | (3 | ) | | Net revenue | | $ | — |
| | $ | 54 |
| Foreign currency contracts | (1 | ) | | (1 | ) | | Cost of products | | — |
| | — |
| Foreign currency contracts | 66 |
| | 142 |
| | Interest and other, net | | 66 |
| | 149 |
| Subtotal | 10 |
| | 138 |
| | Net loss from continuing operations | | 66 |
| | 203 |
| Foreign currency contracts | (6 | ) | | 2 |
| | Net loss from discontinued operations | | 17 |
| | 43 |
| Total cash flow hedges | $ | 4 |
| | $ | 140 |
| | Net loss | | $ | 83 |
| | $ | 246 |
| Net investment hedges: | |
| | | | | | |
| | | Foreign currency contracts | $ | (8 | ) | | $ | (10 | ) | | Interest and other, net | | $ | — |
| | $ | — |
|
As of April 30, 2018 and 2017, no portion of the hedging instruments' gain or loss was excluded from the assessment of effectiveness for fair value, cash flow or net investment hedges. Hedge ineffectiveness for fair value, cash flow, and net investment hedges was not material for the three and six months ended April 30, 2018 and 2017. As of April 30, 2018, the Company expects to reclassify an estimated net Accumulated other comprehensive gain of approximately $7 million, net of taxes, to earnings in the next twelve months, along with the earnings effects of the related forecasted transactions associated with cash flow hedges. The pre-tax effect of derivative instruments not designated as hedging instruments on the Condensed Consolidated Statements of Earnings for the three and six months ended April 30, 2018 and 2017 was as follows: | | | | | | | | | | | | | | | | | | | | | | Gains (Losses) Recognized in Earnings on Derivatives | | Location | | Three months ended April 30, 2018 | | Three months ended April 30, 2017 | | Six months ended April 30, 2018 | | Six months ended April 30, 2017 | | | | In millions | Foreign currency contracts | Interest and other, net | | $ | 261 |
| | $ | (199 | ) | | $ | (129 | ) | | $ | (246 | ) | Other derivatives | Interest and other, net | | (1 | ) | | 1 |
| | — |
| | 4 |
| Total | | | $ | 260 |
| | $ | (198 | ) | | $ | (129 | ) | | $ | (242 | ) |
|