XML 73 R60.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Derivative financial instruments - Narrative (Details) - USD ($) $ in Millions | 6 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jun. 30, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015 | May 02, 2016
Derivative [Line Items] |  |  |  |  |
Derivative, Notional Amount |  | $ 2,800 | $ 6,200 |  |
Gain (Loss) on Cash Flow Hedge Ineffectiveness, Net |  | $ 0 | 0 | $ 0 |
Reclassification of conversion spread | $ 733 |  | 733 |  |
Reclassification of convertible note hedge | $ 733 |  |  |  |
Cash settlement for conversion spread and convertible note hedges |  |  |  |  | $ 861
Loss on conversion spread |  |  | 128 |  |
Gain on convertible note hedges |  |  | $ 128 |  |
Maximum [Member] |  |  |  |  |
Derivative [Line Items] |  |  |  |  |
Derivative, Remaining Maturity |  | 18 months |  |  |

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column B + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of subsequent adjustments to additional paid in capital for convertible financial instruments where a component of equity and a component of debt are recognized. + References No definition available. + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of other increase (decrease) in additional paid in capital (APIC). + References No definition available. + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalOther
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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period remaining until the derivative contract matures, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeRemainingMaturity1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of the embedded derivative or group of embedded derivatives classified as a liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624163-113959 + Details
Name: | us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14172-108612 + Details
Name: | us-gaap_FairValueOptionChangesInFairValueGainLoss1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of net gain (loss) reclassified into earnings when foreign currency cash flow hedge is discontinued because it is probable that the original forecasted transactions will not occur by the end of the original period or an additional two month time period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=35736893&loc=d3e80748-113994 + Details
Name: | us-gaap_GainLossOnDiscontinuationOfForeignCurrencyCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurringNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total amount of gain (loss) derived from fair value hedges recognized in earnings in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |