Gains (Losses) Related to Cash Flow Hedges (Detail) - Designated Hedge Derivatives - Foreign Exchange Contracts - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2016 |
Mar. 31, 2015 |
Mar. 31, 2016 |
Mar. 31, 2015 |
|
| Effective Portion | ||||
| Gains (losses) recognized in OCI (net of tax effects of $(19), $25, $24, and $37) | $ (125) | $ 559 | $ 158 | $ 1,251 |
| Gains reclassified from AOCI into revenue | 171 | 162 | 461 | 290 |
| Amount Excluded from Effectiveness Assessment and Ineffective Portion | ||||
| Losses recognized in other income (expense), net | $ (86) | $ (120) | $ (240) | $ (262) |