XML 116 R52.htm IDEA: XBRL DOCUMENT v3.19.3
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Reconciliation of Earnings (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Mar. 01, 2019
Schedule Of Earnings Per Share Basic And Diluted [Line Items]      
Net income (loss) $ (66,727) $ 36,715  
Less: Preferred dividends on redeemable preferred stock (2,129) (1,335)  
Net income (loss) attributable to common stockholders (68,856) 35,380  
Effect of dilutive securities:      
Net income (loss) attributable to common stockholders after assumed conversions $ (68,856) $ 43,794  
Weighted average common shares outstanding (in shares) 61,180 59,179  
Weighted average common equivalent shares arising from dilutive stock options, restricted stock, convertible notes and convertible preferred stock (in shares) 0 22,720  
Weighted average number of common and potential common shares (in shares) 61,180 81,899  
Basic net earnings (loss) per share attributable to common stockholders (in usd per share) $ (1.13) $ 0.60  
Diluted net earnings (loss) per share attributable to common stockholders (in usd per share) $ (1.13) $ 0.53  
Debt instrument stated percentage     5.25%
5.25% Convertible Senior Notes      
Effect of dilutive securities:      
Dilutive securities $ 0 $ 7,079  
Redeemable preferred stock      
Effect of dilutive securities:      
Dilutive securities $ 0 $ 1,335  
Convertible Senior Notes      
Effect of dilutive securities:      
Debt instrument stated percentage 5.25%