XML 58 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Recently-adopted accounting pronouncements (Details) - USD ($)
$ in Millions
12 Months Ended
Apr. 30, 2018
Apr. 30, 2017
May 01, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cumulative Effect of New Accounting Principle in Period of Adoption     $ 10
Excess Tax Benefits from Stock Based Compensation $ 18 $ 9  
Retained Earnings [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cumulative Effect of New Accounting Principle in Period of Adoption     $ 10