XML 41 R27.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of Significant Accounting Policies (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Feb. 28, 2018
Feb. 28, 2018
Feb. 28, 2018
Feb. 28, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Reclassifications to retained earnings in accordance with ASU 2018-02   $ 17 $ 17  
Excess tax benefit, amount   72 194  
Cash inflow (outflow) from operations     2,685 $ 2,884
Cash inflow (outflow) from financing activities     (3,448) (1,483)
Accounting Standards Update 2018-02        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Reclassifications to retained earnings in accordance with ASU 2018-02   $ 17 $ 17  
Accounting Standards Update 2016-09, Excess Tax Benefit Component        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Cash inflow (outflow) from operations       125
Cash inflow (outflow) from financing activities       (125)
Accounting Standards Update 2016-09, Statutory Tax Withholding Component        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Cash inflow (outflow) from operations       8
Cash inflow (outflow) from financing activities       $ (8)
Scenario, Forecast | Accounting Standards Update 2016-16        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Cumulative effect adjustment on retained earnings $ 520