XML 152 R100.htm IDEA: XBRL DOCUMENT v3.20.2
EARNINGS (LOSS) PER SHARE - Additional Information (Detail) - shares
shares in Millions
12 Months Ended
Jul. 31, 2020
Jul. 31, 2019
Contingent Convertible 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
Convertible Senior Unsecured 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 2.6
Convertible Senior Unsecured 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.4 20.9