XML 54 R61.htm IDEA: XBRL DOCUMENT v3.20.1
EARNINGS (LOSS) PER SHARE - Additional Information (Detail) - shares
shares in Millions
3 Months Ended 6 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Earnings Per Share [Abstract]        
Common stock equivalent shares excluded from the denominator in the calculation of diluted loss per share 24.5 28.9 24.5 28.9