XML 23 R59.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
EARNINGS (LOSS) PER SHARE - Additional Information (Detail) - shares
shares in Millions
3 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Earnings Per Share [Abstract]    
Common stock equivalent shares excluded from the denominator in the calculation of diluted loss per share 0.3 29.5