XML 43 R32.htm IDEA: XBRL DOCUMENT v3.8.0.1
Fair Value Measurements - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
May 31, 2016
May 31, 2017
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]        
Interest income $ 11,000,000 $ 4,000,000    
Fair value transfers between fair value hierarchy levels 0   $ 0  
Available-for-sale Securities        
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]        
Available-for-sale securities with maturity dates within one year from purchase date 1,852,000,000      
Available-for-sale securities with maturity dates over one year and less than five years from purchase date 254,000,000      
Fair Value Measurements Using Level 2        
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]        
Fair value of long term debt $ 3,502,000,000     $ 3,401,000,000