XML 117 R102.htm IDEA: XBRL DOCUMENT v3.21.2
LOSS PER SHARE - Additional Information (Detail) - shares
shares in Millions
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Redeemable preferred stock    
Schedule Of Earnings Per Share Basic And Diluted [Line Items]    
Common stock equivalent shares excluded from the denominator in the calculation of diluted loss per share (in shares) 17.9 17.9
7.50% Convertible Senior Note    
Schedule Of Earnings Per Share Basic And Diluted [Line Items]    
Common stock equivalent shares excluded from the denominator in the calculation of diluted loss per share (in shares) 6.3 6.3
7.50% Convertible Senior Note | Stock Options, Restricted Stock, and Redeemable Preferred Stock    
Schedule Of Earnings Per Share Basic And Diluted [Line Items]    
Common stock equivalent shares excluded from the denominator in the calculation of diluted loss per share (in shares) 24.2 24.4