XML 77 R59.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share - Additional Information (Detail) - shares
shares in Millions
3 Months Ended 6 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Computation of Earnings Per Share [Line Items]        
Common stock equivalent shares excluded from the denominator in the calculation of diluted earnings per share 0.5 14.2 0.5 14.5