XML 69 R57.htm IDEA: XBRL DOCUMENT v3.8.0.1
Financial instruments (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2018
May 31, 2017
May 31, 2018
May 31, 2017
Aug. 31, 2017
Interest rate swaps | Six-month LIBOR          
Derivatives, Fair Value [Line Items]          
Fair value $ 250   $ 250    
Fixed interest rate percentage 5.25%   5.25%    
Foreign currency forwards | Not designated as hedges | Selling, general and administrative expenses          
Effect of Fair Value Hedges on Results of Operations [Abstract]          
Gains and (losses) due to changes in fair value of derivative instruments $ 108 $ (19) $ (75) $ 28  
Foreign currency forwards | Not designated as hedges | Other income (expense)          
Effect of Fair Value Hedges on Results of Operations [Abstract]          
Gains and (losses) due to changes in fair value of derivative instruments 3 $ (1) 36 $ (15)  
Other non-current assets | Interest rate swaps | Designated as hedges          
Derivatives, Fair Value [Line Items]          
Notional 0   0   $ 250
Fair value 0   0   0
Other current liabilities | Interest rate swaps | Designated as hedges          
Derivatives, Fair Value [Line Items]          
Notional 250   250   0
Fair value 2   2   0
Other current liabilities | Foreign currency forwards | Not designated as hedges          
Derivatives, Fair Value [Line Items]          
Notional 0   0   2,816
Fair value 0   0   19
Other current assets | Foreign currency forwards | Designated as hedges          
Derivatives, Fair Value [Line Items]          
Notional 28   28   24
Fair value 0   0   0
Other current assets | Foreign currency forwards | Not designated as hedges          
Derivatives, Fair Value [Line Items]          
Notional 3,762   3,762   221
Fair value $ 147   $ 147   $ 0