XML 63 R51.htm IDEA: XBRL DOCUMENT v3.8.0.1
Goodwill and other intangible assets - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Feb. 28, 2018
Feb. 28, 2017
Feb. 28, 2018
Feb. 28, 2017
Goodwill and Intangible Assets Disclosure [Abstract]        
Amortization expense for intangible assets $ 121 $ 94 $ 217 $ 189